Changes between Version 8 and Version 9 of BuildingOnWindowsWithCMake


Ignore:
Timestamp:
Jan 7, 2012, 1:23:15 PM (12 years ago)
Author:
mloskot
Comment:

Fixed paths

Legend:

Unmodified
Added
Removed
Modified
  • BuildingOnWindowsWithCMake

    v8 v9  
    2222Alternatively, install from the fully-featured Windows installer and select option adding CMake runtime location to PATH environment variable.
    2323
    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:
     24In 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:
    2525
    2626{{{
    27 C:\> cd test_geo
    28 C:\test_geo> cmake -G "Visual Studio 9 2008" C:\svn\geos-trunk
     27C:\> cd geos\build
     28C:\geos\build> cmake -G "Visual Studio 9 2008" C:\geos\trunk
    2929}}}
    3030
     
    3232
    3333{{{
    34 C:\test_geo> cmake -G "Visual Studio 9 2008 Win64" c:\svn\geos-trunk
     34C:\geos\build> cmake -G "Visual Studio 9 2008 Win64" ..\trunk
    3535}}}
    3636
     
    3838
    3939{{{
    40 c:\test_geo> cmake -G "NMake Makefiles" ../svn
     40C:\geos\build> cmake -G "NMake Makefiles" C:\geos\trunk
    4141}}}
    4242
    43 with these commands cmake creates a NMAKE makefiles or Visual Studio solution and projects in the folder "c:\test_geos".
     43with these commands cmake creates a NMAKE makefiles or Visual Studio solution and projects in the folder "C:\geos\build".
    4444
    4545Now 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:
    4646
    4747{{{
    48 c:\test_geo> nmake /f makefile
     48C:\geos\build> nmake /f makefile
    4949}}}
    5050
     
    5252
    5353{{{
    54 c:\test_geo> msbuild GEOS.sln
     54C:\geos\build> msbuild GEOS.sln
    5555}}}
    5656