Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathan Letwory <nathan@letworyinteractive.com>2006-02-04 18:10:59 +0300
committerNathan Letwory <nathan@letworyinteractive.com>2006-02-04 18:10:59 +0300
commit0884402f2bd52365ddd964d677f3fceaa92e91f9 (patch)
tree0407e4eae43602fd895a4747a4e64548906c6266 /SConstruct
parentbf8b4f293d190ba7152bd93c16f35966694a1049 (diff)
==SCons==
* 'scons blendernogame' This target will disable the building of the game engine
Diffstat (limited to 'SConstruct')
-rw-r--r--SConstruct7
1 files changed, 7 insertions, 0 deletions
diff --git a/SConstruct b/SConstruct
index 4ed8d331d03..44968c7521e 100644
--- a/SConstruct
+++ b/SConstruct
@@ -146,6 +146,9 @@ opts.Update(env)
if 'blenderplayer' in B.targets:
env['WITH_BF_PLAYER'] = True
+if 'blendernogame' in B.targets:
+ env['WITH_BF_GAMEENGINE'] = False
+
# lastly we check for root_build_dir ( we should not do before, otherwise we might do wrong builddir
#B.root_build_dir = B.arguments.get('BF_BUILDDIR', '..'+os.sep+'build'+os.sep+platform+os.sep)
B.root_build_dir = env['BF_BUILDDIR']
@@ -292,6 +295,10 @@ bininstalltarget = env.Alias('install-bin', blenderinstall)
if env['WITH_BF_PLAYER']:
blenderplayer = env.Alias('blenderplayer', B.program_list)
+
+if not env['WITH_BF_GAMEENGINE']:
+ blendernogame = env.Alias('blendernogame', B.program_list)
+
Default(B.program_list)
Default(installtarget)