SCons:
[blender.git] / source / gameengine / GameLogic / SConscript
index b4e2159dc22f7d6718fc0e48a405feec44c4d599..ebf225f728f46a96c76ad3a86c05300c787799ff 100644 (file)
@@ -17,4 +17,9 @@ if env['WITH_BF_SDL']:
 else:
        defs += ' DISABLE_SDL'
 
 else:
        defs += ' DISABLE_SDL'
 
-env.BlenderLib ( 'bf_logic', sources, Split(incs), Split(defs), libtype=['game','player'], priority=[30, 110] )
+cxxflags = []
+if env['OURPLATFORM']=='win32-vc':
+       cxxflags.append ('/GR')
+       cxxflags.append ('/O2')
+
+env.BlenderLib ( 'bf_logic', sources, Split(incs), Split(defs), libtype=['game','player'], priority=[30, 110], cxx_compileflags=cxxflags )