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/BlenderRoutines/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/BlenderRoutines/SConscript')
-rwxr-xr-x | source/gameengine/BlenderRoutines/SConscript | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/source/gameengine/BlenderRoutines/SConscript b/source/gameengine/BlenderRoutines/SConscript index 8db4513f841..984b700abd6 100755 --- a/source/gameengine/BlenderRoutines/SConscript +++ b/source/gameengine/BlenderRoutines/SConscript @@ -1,5 +1,4 @@ #!/usr/bin/python -import sys Import ('env') sources = env.Glob('*.cpp') @@ -22,8 +21,8 @@ incs += ' ' + env['BF_SOLID_INC'] incs += ' ' + env['BF_BULLET_INC'] incs += ' ' + env['BF_OPENGL_INC'] -# TODO: -#if sys.platform=='win32': -# kx_blenderhook_env.Append (CXXFLAGS = ['/GR']) +cxxflags = [] +if env['OURPLATFORM']=='win32-vc': + cxxflags.append ('/GR') -env.BlenderLib ( 'KX_blenderhook', sources, Split(incs), [], libtype=['game', 'game2'], priority=[0, 0] ) +env.BlenderLib ( 'bf_bloutines', sources, Split(incs), [], libtype=['game', 'game2', 'player'], priority=[0, 0, 55] , compileflags=cxxflags) |