forked from bartvdbraak/blender
9330e553e8
* 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.
24 lines
833 B
Python
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)
|