[mapguide-commits] r1336 - trunk/MgDev/Oem/proj-4.5.0/src

svn_mapguide at osgeo.org svn_mapguide at osgeo.org
Wed Mar 21 19:16:49 EDT 2007


Author: stevedang
Date: 2007-03-21 19:16:49 -0400 (Wed, 21 Mar 2007)
New Revision: 1336

Modified:
   trunk/MgDev/Oem/proj-4.5.0/src/makefile.vc
   trunk/MgDev/Oem/proj-4.5.0/src/proj.vcproj
Log:
Customize build option flags for PROJ 4.5.0.

Modified: trunk/MgDev/Oem/proj-4.5.0/src/makefile.vc
===================================================================
--- trunk/MgDev/Oem/proj-4.5.0/src/makefile.vc	2007-03-21 23:16:13 UTC (rev 1335)
+++ trunk/MgDev/Oem/proj-4.5.0/src/makefile.vc	2007-03-21 23:16:49 UTC (rev 1336)
@@ -8,9 +8,15 @@
 PROJ_LIB_DIR=../NAD
 
 # Uncomment the first for an optimized build, or the second for debug.
-OPTFLAGS=	/nologo /Ox /MD /Zi /Fdprojvc.pdb
+#OPTFLAGS=	/nologo /Ox /MD /Zi /Fdprojvc.pdb
 #OPTFLAGS=	/nologo /Od /MDd /Zi /Fdprojvc.pdb
 
+!if "$(DEBUG)"=="1"
+OPTFLAGS=	/nologo /Od /MDd /Zi /Fdprojvc.pdb
+!else
+OPTFLAGS=	/nologo /Ox /MD /Zi /Fdprojvc.pdb
+!endif
+
 # Uncomment the first for linking exes against DLL or second for static
 EXE_PROJ =	proj_i.lib
 #EXE_PROJ =	proj.lib

Modified: trunk/MgDev/Oem/proj-4.5.0/src/proj.vcproj
===================================================================
--- trunk/MgDev/Oem/proj-4.5.0/src/proj.vcproj	2007-03-21 23:16:13 UTC (rev 1335)
+++ trunk/MgDev/Oem/proj-4.5.0/src/proj.vcproj	2007-03-21 23:16:49 UTC (rev 1336)
@@ -23,9 +23,9 @@
 			>
 			<Tool
 				Name="VCNMakeTool"
-				BuildCommandLine="nmake /f makefile.vc proj_i.lib"
-				ReBuildCommandLine="nmake /f makefile.vc clean all"
-				CleanCommandLine="nmake /f makefile.vc clean"
+				BuildCommandLine="nmake /f makefile.vc proj_i.lib DEBUG=1"
+				ReBuildCommandLine="nmake /f makefile.vc clean all DEBUG=1"
+				CleanCommandLine="nmake /f makefile.vc clean DEBUG=1"
 				Output=""
 				PreprocessorDefinitions=""
 				IncludeSearchPath=""



More information about the mapguide-commits mailing list