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/Rasterizer | |
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/Rasterizer')
-rwxr-xr-x | source/gameengine/Rasterizer/RAS_OpenGLRasterizer/SConscript | 2 | ||||
-rwxr-xr-x | source/gameengine/Rasterizer/SConscript | 9 |
2 files changed, 5 insertions, 6 deletions
diff --git a/source/gameengine/Rasterizer/RAS_OpenGLRasterizer/SConscript b/source/gameengine/Rasterizer/RAS_OpenGLRasterizer/SConscript index 56183c88946..580897f307c 100755 --- a/source/gameengine/Rasterizer/RAS_OpenGLRasterizer/SConscript +++ b/source/gameengine/Rasterizer/RAS_OpenGLRasterizer/SConscript @@ -6,4 +6,4 @@ sources = env.Glob('*.cpp') #'RAS_GLExtensionManager.cpp RAS_OpenGLRasterizer.cp incs = '. #source/kernel/gen_system #intern/string #intern/moto/include #source/gameengine/Rasterizer' incs += ' ' + env['BF_OPENGL_INC'] -env.BlenderLib ( 'RAS_OpenGLRasterizer', Split(sources), Split(incs), [], libtype='game', priority=40 ) +env.BlenderLib ( 'bf_oglrasterizer', Split(sources), Split(incs), [], libtype=['game','player'], priority=[40, 120] ) diff --git a/source/gameengine/Rasterizer/SConscript b/source/gameengine/Rasterizer/SConscript index 1b833c8d7ee..3af763ffbf2 100755 --- a/source/gameengine/Rasterizer/SConscript +++ b/source/gameengine/Rasterizer/SConscript @@ -1,13 +1,12 @@ #!/usr/bin/python -import sys Import ('env') sources = env.Glob('*.cpp') incs = '. #source/kernel/gen_system #intern/string #intern/moto/include' -#TODO: -#if sys.platform=='win32': -# ras_rasterizer_env.Append ( CCFLAGS =['/Ox']) +cflags = [] +if env['OURPLATFORM']=='win32-vc': + cflags.append('/Ox') -env.BlenderLib ( 'RAS_rasterizer', sources, Split(incs), [], libtype='game', priority=35 ) +env.BlenderLib ( 'bf_rasterizer', sources, Split(incs), [], libtype=['game','player'], priority=[35,115], compileflags = cflags ) |