[SCONS] Optimisation flags for msvc

This commit is contained in:
Nathan Letwory
2004-04-22 04:50:41 +00:00
parent 0d0ab24e4a
commit 892720ffad
6 changed files with 14 additions and 5 deletions

View File

@@ -19,6 +19,7 @@ phy_sumo_env.Append (CPPPATH = ['.',
phy_sumo_env.Append (CPPPATH = user_options_dict['SOLID_INCLUDE'])
if sys.platform=='win32':
phy_sumo_env.Append (CXXFLAGS = ['/GR'])
phy_sumo_env.Append (CXXFLAGS = ['/GR'])
phy_sumo_env.Append ( CCFLAGS =['/O1'])
phy_sumo_env.Library (target='#'+user_options_dict['BUILD_DIR']+'/lib/PHY_Sumo', source=source_files)