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.
This commit is contained in:
Michel Selten
2004-02-15 19:25:32 +00:00
parent 2fbf2b3775
commit 9330e553e8
54 changed files with 149 additions and 147 deletions

View File

@@ -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)