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 @@ bsp_env = Environment()
Import ('cflags')
Import ('cxxflags')
Import ('defines')
Import ('user_options_dict')
bsp_env.Append (CCFLAGS = cflags)
bsp_env.Append (CXXFLAGS = cxxflags)
bsp_env.Append (CPPDEFINES = defines)
@@ -26,4 +27,4 @@ bsp_env.Append (CPPPATH = ['intern',
'../moto/include',
'../memutil'])
bsp_env.Library (target='#/lib/blender_BSP', source=source_files)
bsp_env.Library (target='#'+user_options_dict['BUILD_DIR']+'/lib/blender_BSP', source=source_files)