diff options
author | Campbell Barton <ideasman42@gmail.com> | 2008-11-11 17:14:22 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2008-11-11 17:14:22 +0300 |
commit | 483136c8e4d73fafe2b3e0953a6325107558d896 (patch) | |
tree | 478f98ce53b79cb877fe673e0808d8e8bb45ceb5 /source/gameengine | |
parent | 5161c2ee3a6de421c47bd5e02bb6be4fe54191dc (diff) |
Adjusted scons files so disabling quicktime, python and sdl also removes their includes when building.
writefile.c had usless include.
Diffstat (limited to 'source/gameengine')
-rw-r--r-- | source/gameengine/GameLogic/SConscript | 6 | ||||
-rw-r--r-- | source/gameengine/Ketsji/SConscript | 4 |
2 files changed, 7 insertions, 3 deletions
diff --git a/source/gameengine/GameLogic/SConscript b/source/gameengine/GameLogic/SConscript index fa5a3123215..b4e2159dc22 100644 --- a/source/gameengine/GameLogic/SConscript +++ b/source/gameengine/GameLogic/SConscript @@ -8,11 +8,13 @@ incs += ' #/source/gameengine/Expressions #/intern/moto/include' incs += ' #/source/gameengine/Rasterizer' incs += ' ' + env['BF_PYTHON_INC'] -incs += ' ' + env['BF_SDL_INC'] + defs = '' -if not env['WITH_BF_SDL']: +if env['WITH_BF_SDL']: + incs += ' ' + env['BF_SDL_INC'] +else: defs += ' DISABLE_SDL' env.BlenderLib ( 'bf_logic', sources, Split(incs), Split(defs), libtype=['game','player'], priority=[30, 110] ) diff --git a/source/gameengine/Ketsji/SConscript b/source/gameengine/Ketsji/SConscript index 02e7aed82a5..f5c620b583f 100644 --- a/source/gameengine/Ketsji/SConscript +++ b/source/gameengine/Ketsji/SConscript @@ -41,8 +41,10 @@ if env['OURPLATFORM'] == 'win32-vc': incs += ' ' + env['BF_SOLID_INC'] incs += ' ' + env['BF_PYTHON_INC'] -incs += ' ' + env['BF_SDL_INC'] incs += ' ' + env['BF_BULLET_INC'] incs += ' ' + env['BF_OPENGL_INC'] +if env['WITH_BF_SDL']: + incs += ' ' + env['BF_SDL_INC'] + env.BlenderLib ( 'bf_ketsji', sources, Split(incs), [], libtype=['game','player'], priority=[25, 72], compileflags = cflags ) |