Changeset 420 for cafu/trunk
- Timestamp:
- 11/12/11 13:01:50 (6 months ago)
- Location:
- cafu/trunk
- Files:
-
- 2 modified
-
SConscript (modified) (1 diff)
-
SConstruct (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
cafu/trunk/SConscript
r413 r420 170 170 {"vc8": "vs2005", "vc9": "vs2008", "vc10": "vs2010"}[compiler] + "/" + 171 171 ("x64" if envCaWE["TARGET_ARCH"] in ["x86_64", "amd64", "emt64"] else "x86")]) 172 envCaWE.Append(LIBS=["fbxsdk-2012.1-m td" if buildMode=="dbg" else "fbxsdk-2012.1-mt", "wininet"])172 envCaWE.Append(LIBS=["fbxsdk-2012.1-mdd" if buildMode=="dbg" else "fbxsdk-2012.1-md", "wininet"]) 173 173 174 174 elif sys.platform=="linux2": -
cafu/trunk/SConstruct
r410 r420 66 66 # Environment for debug builds: 67 67 envDebug=envCommon.Clone(); 68 envDebug.Append(CCFLAGS=Split("/M Td /Od /Z7 /RTC1"));68 envDebug.Append(CCFLAGS=Split("/MDd /Od /Z7 /RTC1")); 69 69 envDebug.Append(LINKFLAGS=["/debug"]); 70 70 71 71 # Environment for release builds: 72 72 envRelease=envCommon.Clone(); 73 envRelease.Append(CCFLAGS=Split("/M T/O2 /Ob2"));73 envRelease.Append(CCFLAGS=Split("/MD /O2 /Ob2")); 74 74 75 75 # Environment for profile builds: 76 76 envProfile=envCommon.Clone(); 77 envProfile.Append(CCFLAGS=Split("/M T/O2 /Ob2 /Z7"));77 envProfile.Append(CCFLAGS=Split("/MD /O2 /Ob2 /Z7")); 78 78 envProfile.Append(LINKFLAGS=["/fixed:no", "/debug"]); 79 79 … … 106 106 # Environment for debug builds: 107 107 envDebug=envCommon.Clone(); 108 envDebug.Append(CCFLAGS=Split("/M Td /Od /Z7 /RTC1"));108 envDebug.Append(CCFLAGS=Split("/MDd /Od /Z7 /RTC1")); 109 109 envDebug.Append(LINKFLAGS=["/debug"]); 110 110 111 111 # Environment for release builds: 112 112 envRelease=envCommon.Clone(); 113 envRelease.Append(CCFLAGS=Split("/M T/O2 /Ob2"));113 envRelease.Append(CCFLAGS=Split("/MD /O2 /Ob2")); 114 114 115 115 # Environment for profile builds: 116 116 envProfile=envCommon.Clone(); 117 envProfile.Append(CCFLAGS=Split("/M T/O2 /Ob2 /Z7"));117 envProfile.Append(CCFLAGS=Split("/MD /O2 /Ob2 /Z7")); 118 118 envProfile.Append(LINKFLAGS=["/fixed:no", "/debug"]); 119 119 … … 140 140 # Environment for debug builds: 141 141 envDebug=envCommon.Clone(); 142 envDebug.Append(CCFLAGS=Split("/M Td /Od /Z7 /RTC1"));142 envDebug.Append(CCFLAGS=Split("/MDd /Od /Z7 /RTC1")); 143 143 envDebug.Append(LINKFLAGS=["/debug"]); 144 144 145 145 # Environment for release builds: 146 146 envRelease=envCommon.Clone(); 147 envRelease.Append(CCFLAGS=Split("/M T/O2 /Ob2"));147 envRelease.Append(CCFLAGS=Split("/MD /O2 /Ob2")); 148 148 149 149 # Environment for profile builds: 150 150 envProfile=envCommon.Clone(); 151 envProfile.Append(CCFLAGS=Split("/M T/O2 /Ob2 /Z7"));151 envProfile.Append(CCFLAGS=Split("/MD /O2 /Ob2 /Z7")); 152 152 envProfile.Append(LINKFLAGS=["/fixed:no", "/debug"]); 153 153 … … 279 279 else: target_cpu="" 280 280 281 result=envDebug. Execute("nmake /nologo /f makefile.vc BUILD=debug SHARED=0 RUNTIME_LIBS=staticCOMPILER_PREFIX="+compiler+target_cpu, chdir="ExtLibs/wxWidgets/build/msw");281 result=envDebug. Execute("nmake /nologo /f makefile.vc BUILD=debug SHARED=0 COMPILER_PREFIX="+compiler+target_cpu, chdir="ExtLibs/wxWidgets/build/msw"); 282 282 if (result!=0): envDebug. Exit(result); 283 result=envRelease.Execute("nmake /nologo /f makefile.vc BUILD=release SHARED=0 RUNTIME_LIBS=staticCOMPILER_PREFIX="+compiler+target_cpu, chdir="ExtLibs/wxWidgets/build/msw");283 result=envRelease.Execute("nmake /nologo /f makefile.vc BUILD=release SHARED=0 COMPILER_PREFIX="+compiler+target_cpu, chdir="ExtLibs/wxWidgets/build/msw"); 284 284 if (result!=0): envRelease.Exit(result); 285 285 print ""; # Print just another empty line for better visual separation.
