diff options
author | Campbell Barton <ideasman42@gmail.com> | 2008-09-21 09:38:28 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2008-09-21 09:38:28 +0400 |
commit | e11cd5a962803747ce3c0bddaef73a47d8938b63 (patch) | |
tree | fc0f4390ca230f0a567e0ce3429026a99632a08f /source/gameengine/GameLogic/SConscript | |
parent | 2064f5542ae8edf0c52bcc104f10696f5b6e3659 (diff) |
game engine now compiles with SDL disabled. CDROM and Joystick wont function in this case
Diffstat (limited to 'source/gameengine/GameLogic/SConscript')
-rw-r--r-- | source/gameengine/GameLogic/SConscript | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/source/gameengine/GameLogic/SConscript b/source/gameengine/GameLogic/SConscript index 1ca884f6dec..fa5a3123215 100644 --- a/source/gameengine/GameLogic/SConscript +++ b/source/gameengine/GameLogic/SConscript @@ -10,4 +10,9 @@ incs += ' #/source/gameengine/Rasterizer' incs += ' ' + env['BF_PYTHON_INC'] incs += ' ' + env['BF_SDL_INC'] -env.BlenderLib ( 'bf_logic', sources, Split(incs), [], libtype=['game','player'], priority=[30, 110] ) +defs = '' + +if not env['WITH_BF_SDL']: + defs += ' DISABLE_SDL' + +env.BlenderLib ( 'bf_logic', sources, Split(incs), Split(defs), libtype=['game','player'], priority=[30, 110] ) |