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-10-18 09:45:47 +0400
committerNathan Letwory <nathan@letworyinteractive.com>2006-10-18 09:45:47 +0400
commit88446eeca4b6f9d31928a538e3a39d04f1d06976 (patch)
tree069b6135aa98b631a1e37485562190bd0428d084 /source/blender/render/SConscript
parent134e5622193cd4eb168b0457208ed6794b5935df (diff)
Patch 5105 by Joshua Leung (Aligorith), slightly modified by me
* Add WITH_BF_YAFRAY, which per default is 'true', so no visible changes for developers (and users). Set WITH_BF_YAFRAY to 'false', and you'll save some major compile time :) Also handy if you're strapped for memory and compilation fails on yafray compilation due to this. - this commit also has a few whitespace changes and - made BF_NO_ELBEEM a proper BoolOption. This will be renamed to WITH_BF_ELBEEM in the near future...
Diffstat (limited to 'source/blender/render/SConscript')
-rw-r--r--source/blender/render/SConscript7
1 files changed, 6 insertions, 1 deletions
diff --git a/source/blender/render/SConscript b/source/blender/render/SConscript
index 6c1f67d69df..b1bc9673f23 100644
--- a/source/blender/render/SConscript
+++ b/source/blender/render/SConscript
@@ -6,10 +6,15 @@ sources = env.Glob('intern/source/*.c')
incs = 'intern/include #/intern/guardedalloc ../blenlib ../makesdna'
incs += ' extern/include ../blenkernel ../radiosity/extern/include ../imbuf'
-incs += ' ../quicktime ../include ../../kernel/gen_messaging ../yafray'
+incs += ' ../quicktime ../include ../../kernel/gen_messaging'
defs = []
+if env['WITH_BF_YAFRAY'] == 1:
+ incs += ' ../yafray'
+else:
+ defs.append('DISABLE_YAFRAY')
+
if env['WITH_BF_QUICKTIME'] == 1:
defs.append('WITH_QUICKTIME')
incs += ' ' + env['BF_QUICKTIME_INC']