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.
28 lines
959 B
Python
28 lines
959 B
Python
bmfont_env = Environment()
|
|
|
|
# Import the C flags set in the SConstruct file
|
|
Import ('cflags')
|
|
Import ('cxxflags')
|
|
Import ('defines')
|
|
Import ('user_options_dict')
|
|
bmfont_env.Append (CCFLAGS = cflags)
|
|
bmfont_env.Append (CXXFLAGS = cxxflags)
|
|
bmfont_env.Append (CPPDEFINES = defines)
|
|
|
|
source_files = ['intern/BMF_Api.cpp',
|
|
'intern/BMF_BitmapFont.cpp',
|
|
'intern/BMF_font_helv10.cpp',
|
|
'intern/BMF_font_helv12.cpp',
|
|
'intern/BMF_font_helvb10.cpp',
|
|
'intern/BMF_font_helvb12.cpp',
|
|
'intern/BMF_font_helvb14.cpp',
|
|
'intern/BMF_font_helvb8.cpp',
|
|
'intern/BMF_font_scr12.cpp',
|
|
'intern/BMF_font_scr14.cpp',
|
|
'intern/BMF_font_scr15.cpp']
|
|
|
|
bmfont_env.Append (CPPPATH = ['.',
|
|
'intern'])
|
|
|
|
bmfont_env.Library (target='#'+user_options_dict['BUILD_DIR']+'/lib/blender_BMF', source=source_files)
|