wiki:BuildingOnUnixWithCMake

Version 1 (modified by mloskot, 9 years ago) (diff)

Created page and copied instructions from front page

Windows

If you use Microsoft Visual C++ (7.1 or later) compiler, you can build GEOS using NMAKE program and provided makefile.vc files:

autogen.bat
nmake /f makefile.vc MSVC_VER=1400

where 1400 is version number of Visual C++ compiler, here Visual C++ 8.0 from Visual Studio 2005 (supported versions are 1300, 1310, 1400 and 1500). The autogen.bat step is required to generate a couple of header files (note: autogen.bat is available in SVN only).

In order to build debug configuration of GEOS, additional flag DEBUG=1 is required:

nmake /f makefile.vc MSVC_VER=1400 DEBUG=1