Building on Windows with NMake
Building from SVN development branch requires to generate the
geos_svn_revision.h file with POSIX shell script:
Notice, tools\svn_repo_revision.sh is a Bash script, so you need Bash some means to run Bash scripts on Windows.
Alternatively, you can create
geos_svn_revision.h file manually in the top directory of the source tree:
- In the root directory of your copy of SVN trunk:
- Locate line starting with Revision:
- Use the revision number (in the output above it is
3704) to create
echo #define GEOS_SVN_REVISION 3704 > geos_svn_revision.h
- Optimised configuration
nmake /f makefile.vc
- Debug configuration
nmake /f makefile.vc BUILD_DEBUG=YES
Check top section of
nmake.opt file to learn about available options for NMake run.
Currently, GEOS unit tests package is not configured to build with NMake.