From b8fb31e236bcbc281b060887fefb7af39f143b37 Mon Sep 17 00:00:00 2001 From: Nathan Letwory Date: Tue, 11 Nov 2008 22:48:47 +0000 Subject: Remove BGE defines from highest level and define only there where needed. This prevents scons from doing complete rebuilds when toggling BGE related options. --- tools/Blender.py | 4 ---- 1 file changed, 4 deletions(-) (limited to 'tools/Blender.py') diff --git a/tools/Blender.py b/tools/Blender.py index b192a591aa1..3b5e33eda59 100644 --- a/tools/Blender.py +++ b/tools/Blender.py @@ -421,10 +421,6 @@ class BlenderEnvironment(SConsEnvironment): lenv = self.Clone() lenv.Append(CPPPATH=includes) lenv.Append(CPPDEFINES=defines) - if lenv['WITH_BF_GAMEENGINE']: - lenv.Append(CPPDEFINES=['GAMEBLENDER=1']) - if lenv['WITH_BF_BULLET']: - lenv.Append(CPPDEFINES=['WITH_BULLET=1']) if lenv['BF_DEBUG'] or (libname in quickdebug): lenv.Append(CFLAGS = lenv['BF_DEBUG_CFLAGS']) lenv.Append(CCFLAGS = lenv['BF_DEBUG_CCFLAGS']) -- cgit v1.2.3