Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathan Letwory <nathan@letworyinteractive.com>2006-02-08 00:24:36 +0300
committerNathan Letwory <nathan@letworyinteractive.com>2006-02-08 00:24:36 +0300
commitef1b7a5735fea454f88f9d18cf9034279f8fb0b6 (patch)
tree8606ed6ca4eeee76c1cd1840c06fcaf09519f311 /source/gameengine/Ketsji/SConscript
parentb11c92c66e437166197fed77be698392f941b3a5 (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/Ketsji/SConscript')
-rw-r--r--source/gameengine/Ketsji/SConscript10
1 files changed, 5 insertions, 5 deletions
diff --git a/source/gameengine/Ketsji/SConscript b/source/gameengine/Ketsji/SConscript
index 375f2679e21..8cd4179bf49 100644
--- a/source/gameengine/Ketsji/SConscript
+++ b/source/gameengine/Ketsji/SConscript
@@ -20,14 +20,14 @@ incs += ' #source/gameengine/Physics/Sumo #source/gameengine/Physics/Sumo/includ
incs += ' #source/gameengine/Physics/Sumo/Fuzzics/include #source/gameengine/Network/LoopBackNetwork'
incs += ' #source/blender/misc #source/blender/blenloader'
-#TODO:
-#if sys.platform == 'win32':
-# ketsji_env.Append (CXXFLAGS = ['/GR'])
-# ketsji_env.Append ( CCFLAGS =['/Ox'])
+cflags = []
+if env['OURPLATFORM'] == 'win32-vc':
+ cflags.append('/GR')
+ cflags.append('/Ox')
incs += ' ' + env['BF_SOLID_INC']
incs += ' ' + env['BF_PYTHON_INC']
incs += ' ' + env['BF_SDL_INC']
incs += ' ' + env['BF_BULLET_INC']
-env.BlenderLib ( 'KX_ketsji', sources, Split(incs), [], libtype='game', priority=25 )
+env.BlenderLib ( 'bf_ketsji', sources, Split(incs), [], libtype=['game','player'], priority=[25, 72], compileflags = cflags )