From 0f39be9ce832894443a728dedf86c82d8cb59d84 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Tue, 16 Sep 2008 06:31:55 +0000 Subject: added static openal and openexr options for scons. also added a target 'blenderlite' - turns almost everything off, compressed binary is ~3.4meg --- SConstruct | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'SConstruct') diff --git a/SConstruct b/SConstruct index 4c3bbf8fad7..92547bf6756 100644 --- a/SConstruct +++ b/SConstruct @@ -248,6 +248,19 @@ if 'blenderplayer' in B.targets: if 'blendernogame' in B.targets: env['WITH_BF_GAMEENGINE'] = False +if 'blenderlite' in B.targets: + env['WITH_BF_GAMEENGINE'] = False + env['WITH_BF_OPENAL'] = False + env['WITH_BF_OPENEXR'] = False + env['WITH_BF_ICONV'] = False + env['WITH_BF_INTERNATIONAL'] = False + env['WITH_BF_OPENJPEG'] = False + env['WITH_BF_FFMPEG'] = False + env['WITH_BF_QUICKTIME'] = False + env['WITH_BF_YAFRAY'] = False + env['WITH_BF_REDCODE'] = False + env['WITH_BF_FTGL'] = 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'] @@ -488,6 +501,10 @@ if not env['WITH_BF_GAMEENGINE']: blendernogame = env.Alias('blendernogame', B.program_list) Depends(blendernogame,installtarget) +if 'blenderlite' in B.targets: + blenderlite = env.Alias('blenderlite', B.program_list) + Depends(blenderlite,installtarget) + Depends(nsiscmd, allinstall) Default(B.program_list) -- cgit v1.2.3