blender/source/kernel/SConscript
Michel Selten 9330e553e8 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.
2004-02-15 19:25:32 +00:00

24 lines
833 B
Python

kernel_env = Environment ()
# Import the C flags set in the SConstruct file
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)
source_files = ['gen_messaging/intern/messaging.c',
'gen_system/GEN_HashedPtr.cpp',
'gen_system/GEN_Matrix4x4.cpp',
'gen_system/SYS_SingletonSystem.cpp',
'gen_system/SYS_System.cpp']
kernel_env.Append (CPPPATH = ['gen_messaging',
'gen_system',
'#/intern/string',
'#/intern/moto/include'])
kernel_env.Library (target='#'+user_options_dict['BUILD_DIR']+'/lib/blender_kernel', source=source_files)