[geos-devel] [#317] Build configuration for CMake build system

Sandro Santilli strk at keybit.net
Thu Jan 28 15:41:02 EST 2010


On Wed, Jan 27, 2010 at 10:13:45PM +0000, Mateusz Loskot wrote:

> I explicitly add -D_ISOC99_SOURCE=1 for checks of isfinite and it passes
> for me.
> 
> Could you give it another shot and test?


 -- Performing Test HAVE_STD_ISNAN
 -- Performing Test HAVE_STD_ISNAN - Success
 -- Performing Test HAVE_STD_ISFINITE
 -- Performing Test HAVE_STD_ISFINITE - Failed
 -- Looking for isfinite
 -- Looking for isfinite - found

Sounds good.

Next:

Linking CXX executable geos_unit
CMakeFiles/geos_unit.dir/geostest2.cpp.o: In function `main':
/usr/src/geos/trunk/tests/unit/geostest2.cpp:56: multiple definition of `main'
CMakeFiles/geos_unit.dir/geos_unit.cpp.o:/usr/src/geos/trunk/tests/unit/geos_unit.cpp:56: first defined here
CMakeFiles/geos_unit.dir/bug176.cpp.o: In function `do_sir()':
/usr/src/geos/trunk/include/geos/io/WKTReader.inl:56: multiple definition of `do_sir()'
CMakeFiles/geos_unit.dir/geostest2.cpp.o:/usr/src/geos/trunk/include/geos/io/WKTReader.inl:56: first defined here
CMakeFiles/geos_unit.dir/bug176.cpp.o: In function `do_buffer()':
/usr/src/geos/trunk/tests/unit/bug176.cpp:22: multiple definition of `do_buffer()'
CMakeFiles/geos_unit.dir/geostest2.cpp.o:/usr/src/geos/trunk/tests/unit/geostest2.cpp:20: first defined here
CMakeFiles/geos_unit.dir/bug176.cpp.o: In function `main':
/usr/src/geos/trunk/tests/unit/bug176.cpp:58: multiple definition of `main'
CMakeFiles/geos_unit.dir/geos_unit.cpp.o:/usr/src/geos/trunk/tests/unit/geos_unit.cpp:56: first defined here

--strk;

  ()   Free GIS & Flash consultant/developer
  /\   http://foo.keybit.net/~strk/services.html


More information about the geos-devel mailing list