Changes between Version 1 and Version 2 of BuildingOnWindowsWithNMake
- Timestamp:
- Jan 27, 2010, 3:38:31 PM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
BuildingOnWindowsWithNMake
v1 v2 1 = == Windows ===1 = Building on Windows with NMake = 2 2 3 If you use [http://en.wikipedia.org/wiki/Microsoft_Visual_Studio Microsoft Visual C++] (7.1 or later) compiler, you can build GEOS using [http://msdn.microsoft.com/en-us/library/dd9y37ha.aspx NMAKE] program and provided makefile.vc files: 3 If you use [http://en.wikipedia.org/wiki/Microsoft_Visual_Studio Microsoft Visual C++] (7.1 or later) compiler, you can build GEOS using [http://msdn.microsoft.com/en-us/library/dd9y37ha.aspx NMAKE] program and provided makefile.vc files. 4 5 == Configure == 6 7 Building from release sources package, should not require any configuration step. 8 9 Building from SVN development branch ''trunk'' to run [source:trunk/autogen.bat@2262 autogen.bat] script to generate a couple of header files (''note:'' autogen.bat is available in SVN only). 4 10 5 11 {{{ 6 12 autogen.bat 13 }}} 14 15 == Build == 16 17 * Optimised configuration 18 {{{ 7 19 nmake /f makefile.vc MSVC_VER=1400 8 20 }}} 9 21 10 where 1400 is version number of Visual C++ compiler, here [http://en.wikipedia.org/wiki/Visual_C%2B%2B Visual C++ 8.0] from [http://msdn.microsoft.com/en-us/library/ms950416.aspx 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).22 where 1400 is version number of Visual C++ compiler, here [http://en.wikipedia.org/wiki/Visual_C%2B%2B Visual C++ 8.0] from [http://msdn.microsoft.com/en-us/library/ms950416.aspx Visual Studio 2005]. Ssupported versions are Visual C++ 7.1 (1310), 8.0 (1400), 9.0 (1500) and 10.0 (1600). 11 23 12 In order to build debug configuration of GEOS, additional flag ''DEBUG=1'' is required: 24 * Debug configuration 13 25 {{{ 14 26 nmake /f makefile.vc MSVC_VER=1400 DEBUG=1 15 27 }}} 28 29 == Test == 30 31 Currently, GEOS unit tests package is not configured to build with NMake. 32 33 == Install == 34 35 ''TODO''