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:
authorThomas Dinges <blender@dingto.org>2012-04-15 01:55:38 +0400
committerThomas Dinges <blender@dingto.org>2012-04-15 01:55:38 +0400
commit48ed63b1a5cb7808df66aaeb16d7ea8cf36a7e34 (patch)
tree0a7399e675d984c14205ab6f30435c46c1e34b57 /source/blender/gpu
parent44f10d889e52ed92b540ea9e447ab9a95ecc0ed0 (diff)
Scons ToDo:
* Made Smoke building optional, added WITH_BF_SMOKE. * Enabled per default in btools.py
Diffstat (limited to 'source/blender/gpu')
-rw-r--r--source/blender/gpu/SConscript3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/gpu/SConscript b/source/blender/gpu/SConscript
index ee4491c1c77..181af6bb1d4 100644
--- a/source/blender/gpu/SConscript
+++ b/source/blender/gpu/SConscript
@@ -13,6 +13,7 @@ if env['OURPLATFORM'] in ('win32-vc', 'win32-mingw', 'linuxcross', 'win64-vc'):
incs += ' ' + env['BF_OPENGL_INC']
-defs.append('WITH_SMOKE') # TODO, make optional
+if env['WITH_BF_SMOKE']:
+ defs.append('WITH_SMOKE')
env.BlenderLib ( 'bf_gpu', sources, Split(incs), defines = defs, libtype=['core','player'], priority=[160,110] )