[GEOS] #1006: CMake build without tests regression

Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

[GEOS] #1006: CMake build without tests regression

geos-2
#1006: CMake build without tests regression
-----------------------------------+--------------------------
 Reporter:  Mike Taves             |      Owner:  geos-devel@…
     Type:  defect                 |     Status:  new
 Priority:  major                  |  Milestone:
Component:  Build/Install (cmake)  |    Version:  master
 Severity:  Unassigned             |   Keywords:
-----------------------------------+--------------------------
 Prior to GEOS 3.8.0, building tests could be disabled using:
 {{{
 cmake -DCMAKE_BUILD_TYPE=Release -DGEOS_ENABLE_TESTS=OFF ..
 }}}
 With the modern CMake setup for GEOS 3.8.0 (nice work, btw!) this should
 be done using:
 {{{
 cmake -DCMAKE_BUILD_TYPE=Release -DBUILD_TESTING=OFF ..
 }}}
 however:
 {{{
 CMake Error at doc/CMakeLists.txt:16 (target_include_directories):
   Cannot specify include directories for target "test_geos_unit" which is
 not
   built by this project.
 }}}

--
Ticket URL: <https://trac.osgeo.org/geos/ticket/1006>
GEOS <http://trac.osgeo.org/geos>
GEOS (Geometry Engine - Open Source) is a C++ port of the Java Topology Suite (JTS).

_______________________________________________
geos-devel mailing list
[hidden email]
https://lists.osgeo.org/mailman/listinfo/geos-devel
Reply | Threaded
Open this post in threaded view
|

Re: [GEOS] #1006: CMake build without tests regression

geos-2
#1006: CMake build without tests regression
-----------------------------------+---------------------------
 Reporter:  Mike Taves             |       Owner:  geos-devel@…
     Type:  defect                 |      Status:  new
 Priority:  major                  |   Milestone:
Component:  Build/Install (cmake)  |     Version:  master
 Severity:  Unassigned             |  Resolution:
 Keywords:                         |
-----------------------------------+---------------------------

Comment (by Mike Taves):

 See fix with !GitHub PR https://github.com/libgeos/geos/pull/251

--
Ticket URL: <https://trac.osgeo.org/geos/ticket/1006#comment:1>
GEOS <http://trac.osgeo.org/geos>
GEOS (Geometry Engine - Open Source) is a C++ port of the Java Topology Suite (JTS).

_______________________________________________
geos-devel mailing list
[hidden email]
https://lists.osgeo.org/mailman/listinfo/geos-devel
Reply | Threaded
Open this post in threaded view
|

Re: [GEOS] #1006: CMake build without tests regression

geos-2
In reply to this post by geos-2
#1006: CMake build without tests regression
-----------------------------------+---------------------------
 Reporter:  Mike Taves             |       Owner:  geos-devel@…
     Type:  defect                 |      Status:  closed
 Priority:  major                  |   Milestone:
Component:  Build/Install (cmake)  |     Version:  master
 Severity:  Unassigned             |  Resolution:  fixed
 Keywords:                         |
-----------------------------------+---------------------------
Changes (by Daniel Baston <dbaston@…>):

 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"fbb180464035f2dd573cbbe3aa722d5dec159ea2/git" fbb1804/git]:
 {{{
 #!CommitTicketReference repository="git"
 revision="fbb180464035f2dd573cbbe3aa722d5dec159ea2"
 Fix CMake build without tests

 Fixes #1006
 }}}

--
Ticket URL: <https://trac.osgeo.org/geos/ticket/1006#comment:2>
GEOS <http://trac.osgeo.org/geos>
GEOS (Geometry Engine - Open Source) is a C++ port of the Java Topology Suite (JTS).

_______________________________________________
geos-devel mailing list
[hidden email]
https://lists.osgeo.org/mailman/listinfo/geos-devel