diff options
author | Nathan Letwory <nathan@letworyinteractive.com> | 2006-02-08 00:24:36 +0300 |
---|---|---|
committer | Nathan Letwory <nathan@letworyinteractive.com> | 2006-02-08 00:24:36 +0300 |
commit | ef1b7a5735fea454f88f9d18cf9034279f8fb0b6 (patch) | |
tree | 8606ed6ca4eeee76c1cd1840c06fcaf09519f311 /source/gameengine/Physics/Sumo/SConscript | |
parent | b11c92c66e437166197fed77be698392f941b3a5 (diff) |
==SCons==
+ 'scons blenderplayer' builds blender AND blenderplayer now (tested on Linux
only, but was only linking issue, so should work on other platforms too).
NOTE: I noticed some compileflags for GE specific libs that were left out -
I re-enabled them in the SConscripts, but I'm going to do a test build my-
self now, so if there are problems with them on win32, I probably already
know about them :)
Diffstat (limited to 'source/gameengine/Physics/Sumo/SConscript')
-rwxr-xr-x | source/gameengine/Physics/Sumo/SConscript | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/source/gameengine/Physics/Sumo/SConscript b/source/gameengine/Physics/Sumo/SConscript index 7407aec469d..be7922efd44 100755 --- a/source/gameengine/Physics/Sumo/SConscript +++ b/source/gameengine/Physics/Sumo/SConscript @@ -18,9 +18,9 @@ incs =['.', ] incs += [sumoenv['BF_SOLID_INC']] -if sumoenv['PLATFORM']=='win32': - sumoenv.Append (CXXFLAGS = ['/GR']) - sumoenv.Append ( CCFLAGS =['/O1']) +cflags = [] +if env['OURPLATFORM']=='win32-vc': + cflags.append('/GR') + cflags.append('/O1') -#env.Library (target='#'+user_options_dict['BUILD_DIR']+'/lib/PHY_Sumo', source=source_files) -env.BlenderLib ( 'PHY_Sumo', sources, incs, [], libtype='game2', priority=30 ) +env.BlenderLib ( 'bf_sumo', sources, incs, [], libtype=['game2','player'], priority=[30, 70] , compileflags=cflags) |