[geos-commits] r2869 - trunk/capi

svn_geos at osgeo.org svn_geos at osgeo.org
Sun Jan 17 20:26:01 EST 2010


Author: mloskot
Date: 2010-01-17 20:25:59 -0500 (Sun, 17 Jan 2010)
New Revision: 2869

Modified:
   trunk/capi/CMakeLists.txt
Log:
Updated Windows elements of build configuration for CMake system (#317):
* Added missing symbol GEOS_DLL_EXPORT to request generation of import library for GEOS C API DLL
* All targets configured for CMake build system have been successfully built and tested using CMake.
* CMake-based install target successfully tested on Windows 7
** Default prefix for 32-bit build is "c:\Program Files (x86)\geos\" where bin, lib and include directories are created.

Modified: trunk/capi/CMakeLists.txt
===================================================================
--- trunk/capi/CMakeLists.txt	2010-01-18 00:59:21 UTC (rev 2868)
+++ trunk/capi/CMakeLists.txt	2010-01-18 01:25:59 UTC (rev 2869)
@@ -12,6 +12,10 @@
 #
 #################################################################################
 
+if(WIN32)
+    add_definitions("-DGEOS_DLL_EXPORT=1")
+endif()
+
 set(geos_c_SOURCES
   geos_c.cpp
   geos_ts_c.cpp)



More information about the geos-commits mailing list