Changes between Version 11 and Version 12 of BuildingOnWindowsWithCMake


Ignore:
Timestamp:
Jan 25, 2013, 9:54:31 AM (11 years ago)
Author:
mloskot
Comment:

Explained geos_svn_revision.h requirement

Legend:

Unmodified
Added
Removed
Modified
  • BuildingOnWindowsWithCMake

    v11 v12  
    2222
    2323After this, start command prompt (cmd.exe).
     24
     25Building from SVN development branch requires to generate the `geos_svn_revision.h` file with POSIX shell script:
     26
     27{{{
     28tools\svn_repo_revision.sh
     29}}}
     30
     31Notice, ''tools\svn_repo_revision.sh'' is a Bash script, so you need Bash some means to run Bash scripts on Windows.
     32
     33Alternatively, you can create `geos_svn_revision.h` file manually in the top directory of the source tree:
     34
     35 * In the root directory of your copy of SVN trunk:
     36{{{
     37svn info
     38}}}
     39 * Locate line starting with ''Revision'':
     40{{{
     41Revision: 3704
     42}}}
     43 * Use the revision number (in the output above it is `3704`) to create `geos_svn_revision.h`:
     44{{{
     45echo #define GEOS_SVN_REVISION 3704 > geos_svn_revision.h
     46}}}
    2447
    2548Alternatively, install from the fully-featured Windows installer and select option adding CMake runtime location to PATH environment variable.