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:
authorMichel Selten <michel@mselten.demon.nl>2004-02-15 22:25:32 +0300
committerMichel Selten <michel@mselten.demon.nl>2004-02-15 22:25:32 +0300
commit9330e553e88fe77b3a08cfac3a13046031b58e56 (patch)
tree69b9155aad185dc347bef0dcffaf8c538980fb72 /source/kernel
parent2fbf2b3775405566eb5906da2c7223eb9b626427 (diff)
SCons updates
* libraries are now generated in [BUILD_DIR]/lib * passed the user_options to all libraries now. This means I could remove a couple of Export/Import lines. * Changed the order in source/blender/src/SConscript and source/gameengine/SConscript. All libraries are now sorted alphabetically. This has no impact on the build process.
Diffstat (limited to 'source/kernel')
-rw-r--r--source/kernel/SConscript3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/kernel/SConscript b/source/kernel/SConscript
index 0439f7169bc..88e968b66c6 100644
--- a/source/kernel/SConscript
+++ b/source/kernel/SConscript
@@ -4,6 +4,7 @@ kernel_env = Environment ()
Import ('cflags')
Import ('cxxflags')
Import ('defines')
+Import ('user_options_dict')
kernel_env.Append (CCFLAGS = cflags)
kernel_env.Append (CXXFLAGS = cxxflags)
kernel_env.Append (CPPDEFINES = defines)
@@ -19,4 +20,4 @@ kernel_env.Append (CPPPATH = ['gen_messaging',
'#/intern/string',
'#/intern/moto/include'])
-kernel_env.Library (target='#/lib/blender_kernel', source=source_files)
+kernel_env.Library (target='#'+user_options_dict['BUILD_DIR']+'/lib/blender_kernel', source=source_files)