[mapguide-commits] r1335 - in trunk/MgDev/Oem/gdal-1.4.0: . ogr port
svn_mapguide at osgeo.org
svn_mapguide at osgeo.org
Wed Mar 21 19:16:13 EDT 2007
Author: stevedang
Date: 2007-03-21 19:16:13 -0400 (Wed, 21 Mar 2007)
New Revision: 1335
Modified:
trunk/MgDev/Oem/gdal-1.4.0/nmake.opt
trunk/MgDev/Oem/gdal-1.4.0/ogr/ogr.vcproj
trunk/MgDev/Oem/gdal-1.4.0/port/cpl.vcproj
Log:
Customize build option flags for GDAL 1.4.0.
Modified: trunk/MgDev/Oem/gdal-1.4.0/nmake.opt
===================================================================
--- trunk/MgDev/Oem/gdal-1.4.0/nmake.opt 2007-03-21 22:53:32 UTC (rev 1334)
+++ trunk/MgDev/Oem/gdal-1.4.0/nmake.opt 2007-03-21 23:16:13 UTC (rev 1335)
@@ -20,9 +20,15 @@
SWIG = D:\swig\swig-1.3.25\swig.exe
# Uncomment the first for an optimized build or the second for a debug build.
-OPTFLAGS= /nologo /Ox /MD /EHsc
+#OPTFLAGS= /nologo /Ox /MD /EHsc
#OPTFLAGS= /nologo /Od /MDd /EHsc /Zi /Fd$(PDB_NAME)
+!if "$(DEBUG)"=="1"
+OPTFLAGS= /nologo /Od /MDd /EHsc /Zi /Fd$(PDB_NAME)
+!else
+OPTFLAGS= /nologo /Ox /MD /EHsc
+!endif
+
# Uncomment the following if you are building for 64-bit windows
# (x64). You'll need to have PATH, INCLUDE and LIB set up for 64-bit
# compiles.
Modified: trunk/MgDev/Oem/gdal-1.4.0/ogr/ogr.vcproj
===================================================================
--- trunk/MgDev/Oem/gdal-1.4.0/ogr/ogr.vcproj 2007-03-21 22:53:32 UTC (rev 1334)
+++ trunk/MgDev/Oem/gdal-1.4.0/ogr/ogr.vcproj 2007-03-21 23:16:13 UTC (rev 1335)
@@ -23,9 +23,9 @@
>
<Tool
Name="VCNMakeTool"
- BuildCommandLine="nmake /f makefile ogr.lib"
- ReBuildCommandLine="nmake /f makefile clean ogr.lib"
- CleanCommandLine="nmake /f makefile clean"
+ BuildCommandLine="nmake /f makefile ogr.lib DEBUG=1"
+ ReBuildCommandLine="nmake /f makefile clean ogr.lib DEBUG=1"
+ CleanCommandLine="nmake /f makefile clean DEBUG=1"
Output=""
PreprocessorDefinitions=""
IncludeSearchPath=""
Modified: trunk/MgDev/Oem/gdal-1.4.0/port/cpl.vcproj
===================================================================
--- trunk/MgDev/Oem/gdal-1.4.0/port/cpl.vcproj 2007-03-21 22:53:32 UTC (rev 1334)
+++ trunk/MgDev/Oem/gdal-1.4.0/port/cpl.vcproj 2007-03-21 23:16:13 UTC (rev 1335)
@@ -24,9 +24,9 @@
>
<Tool
Name="VCNMakeTool"
- BuildCommandLine="nmake /f makefile.vc"
- ReBuildCommandLine="nmake /f makefile.vc clean default"
- CleanCommandLine="nmake /f makefile.vc clean"
+ BuildCommandLine="nmake /f makefile.vc DEBUG=1"
+ ReBuildCommandLine="nmake /f makefile.vc clean default DEBUG=1"
+ CleanCommandLine="nmake /f makefile.vc clean DEBUG=1"
Output=""
PreprocessorDefinitions=""
IncludeSearchPath=""
More information about the mapguide-commits
mailing list