Changes between Version 20 and Version 21 of BuildingOnUnixWithCMake


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

Explained geos_svn_revision.h requirement

Legend:

Unmodified
Added
Removed
Modified
  • BuildingOnUnixWithCMake

    v20 v21  
    2626
    2727== Configure ==
     28
     29Building from SVN development branch requires to generate the `geos_svn_revision.h` file with POSIX shell script:
     30
     31{{{
     32tools\svn_repo_revision.sh
     33}}}
     34
     35Alternatively, you can create `geos_svn_revision.h` file manually in the top directory of the source tree:
     36
     37 * In the root directory of your copy of SVN trunk:
     38{{{
     39svn info
     40}}}
     41 * Locate line starting with ''Revision'':
     42{{{
     43Revision: 3704
     44}}}
     45 * Use the revision number (in the output above it is `3704`) to create `geos_svn_revision.h`:
     46{{{
     47echo #define GEOS_SVN_REVISION 3704 > geos_svn_revision.h
     48}}}
    2849
    2950Important, it is highly recommended to configure build out of source code tree. For this purpose, prepare build directory (from now on referred to as ''BUILDDIR''):