Changes between Version 8 and Version 9 of BuildingOnWindowsWithCMake
- Timestamp:
- Jan 7, 2012, 1:23:15 PM (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
BuildingOnWindowsWithCMake
v8 v9 22 22 Alternatively, install from the fully-featured Windows installer and select option adding CMake runtime location to PATH environment variable. 23 23 24 In order to create the project with cmake do this: suppose for example the GEOS trunk was downloaded in "C:\ svn\geos-trunk" you may create a new folder like "C:\test_geos" enter in "C:\test_geos" and run the command for the compiler you like use:24 In order to create the project with cmake do this: suppose for example the GEOS trunk was downloaded in "C:\geos\trunk" you may create a new folder like "C:\geos\build" enter in "C:\geos\build" and run the command for the compiler you like use: 25 25 26 26 {{{ 27 C:\> cd test_geo28 C:\ test_geo> cmake -G "Visual Studio 9 2008" C:\svn\geos-trunk27 C:\> cd geos\build 28 C:\geos\build> cmake -G "Visual Studio 9 2008" C:\geos\trunk 29 29 }}} 30 30 … … 32 32 33 33 {{{ 34 C:\ test_geo> cmake -G "Visual Studio 9 2008 Win64" c:\svn\geos-trunk34 C:\geos\build> cmake -G "Visual Studio 9 2008 Win64" ..\trunk 35 35 }}} 36 36 … … 38 38 39 39 {{{ 40 c:\test_geo> cmake -G "NMake Makefiles" ../svn 40 C:\geos\build> cmake -G "NMake Makefiles" C:\geos\trunk 41 41 }}} 42 42 43 with these commands cmake creates a NMAKE makefiles or Visual Studio solution and projects in the folder " c:\test_geos".43 with these commands cmake creates a NMAKE makefiles or Visual Studio solution and projects in the folder "C:\geos\build". 44 44 45 45 Now you are able to build GEOS by loading GEOS.sln in Visual Studio IDE or from command line (use Visual Studio Command Prompt), depending on target CMake generator used in previous steps: 46 46 47 47 {{{ 48 c:\test_geo> nmake /f makefile48 C:\geos\build> nmake /f makefile 49 49 }}} 50 50 … … 52 52 53 53 {{{ 54 c:\test_geo> msbuild GEOS.sln54 C:\geos\build> msbuild GEOS.sln 55 55 }}} 56 56