diff options
author | Nils Thuerey <nils@thuerey.de> | 2006-08-22 15:18:00 +0400 |
---|---|---|
committer | Nils Thuerey <nils@thuerey.de> | 2006-08-22 15:18:00 +0400 |
commit | f21f3cb290e221e4b4610e43c17e9702b43a1cb5 (patch) | |
tree | e168253c66d3cc03dd83d3974168306bd5cd21ab /SConstruct | |
parent | 91c9917bc00c196ce03d3662b06443c4539bc87e (diff) |
- modified patch #4681, for scons compiling
of the fluidsim can now be disabled with the
flag: BF_NO_ELBEEM='true', e.g. for irix systems.
(The number of ifdefs from the original
patch was reduced, and the defines are now
only necessary when elbeem is switched off.)
- particle generation option is available again
Diffstat (limited to 'SConstruct')
-rw-r--r-- | SConstruct | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/SConstruct b/SConstruct index 24f723d9f1b..bc1dd8e47aa 100644 --- a/SConstruct +++ b/SConstruct @@ -159,6 +159,12 @@ else: opts = btools.read_opts(optfiles, B.arguments) opts.Update(env) +# disable elbeem (fluidsim) compilation? +if env['BF_NO_ELBEEM'] == 'true': + env['CPPFLAGS'].append('-DDISABLE_ELBEEM') + env['CXXFLAGS'].append('-DDISABLE_ELBEEM') + env['CCFLAGS'].append('-DDISABLE_ELBEEM') + #check for additional debug libnames if env.has_key('BF_DEBUG_LIBS'): @@ -375,7 +381,6 @@ if not env['WITH_BF_GAMEENGINE']: blendernogame = env.Alias('blendernogame', B.program_list) Depends(blendernogame,installtarget) - Default(B.program_list) Default(installtarget) |