==SCons==
+ 'scons blenderplayer' builds blender AND blenderplayer now (tested on Linux only, but was only linking issue, so should work on other platforms too). NOTE: I noticed some compileflags for GE specific libs that were left out - I re-enabled them in the SConscripts, but I'm going to do a test build my- self now, so if there are problems with them on win32, I probably already know about them :)
This commit is contained in:
parent
b11c92c66e
commit
ef1b7a5735
|
@ -38,6 +38,7 @@ import os.path
|
|||
import string
|
||||
import shutil
|
||||
import glob
|
||||
import re
|
||||
|
||||
import tools.Blender
|
||||
import tools.btools
|
||||
|
@ -227,13 +228,6 @@ thesyslibs = B.setup_syslibs(env)
|
|||
env.BlenderProg(B.root_build_dir, "blender", dobj + mainlist + thestatlibs, [], thesyslibs, [B.root_build_dir+'/lib'] + thelibincs, 'blender')
|
||||
if env['WITH_BF_PLAYER']:
|
||||
playerlist = B.create_blender_liblist(env, 'player')
|
||||
playerlist += B.create_blender_liblist(env, 'core')
|
||||
playerlist += B.create_blender_liblist(env, 'common')
|
||||
playerlist += B.create_blender_liblist(env, 'intern')
|
||||
playerlist += B.create_blender_liblist(env, 'international')
|
||||
playerlist += B.create_blender_liblist(env, 'game')
|
||||
playerlist += B.create_blender_liblist(env, 'game2')
|
||||
playerlist += B.create_blender_liblist(env, 'player2')
|
||||
env.BlenderProg(B.root_build_dir, "blenderplayer", dobj + playerlist + thestatlibs, [], thesyslibs, [B.root_build_dir+'/lib'] + thelibincs, 'blenderplayer')
|
||||
|
||||
##### Now define some targets
|
||||
|
|
|
@ -27,4 +27,4 @@ defs = ''
|
|||
|
||||
sources = env.Glob('src/*.cpp')
|
||||
|
||||
env.BlenderLib ( 'extern_ftgl', sources, Split(incs), Split(defs), libtype='international', priority=5)
|
||||
env.BlenderLib ( 'extern_ftgl', sources, Split(incs), Split(defs), libtype=['international','player'], priority=[5, 210])
|
||||
|
|
|
@ -103,4 +103,4 @@ sources = [ 'Bullet/BroadphaseCollision/BroadphaseProxy.cpp',
|
|||
|
||||
incs = '. Bullet BulletDynamics LinearMath'
|
||||
|
||||
env.BlenderLib ( libname = 'extern_bullet', sources=sources, includes=Split(incs), defines=Split(defs), libtype='game2', priority=20, compileflags=cflags )
|
||||
env.BlenderLib ( libname = 'extern_bullet', sources=sources, includes=Split(incs), defines=Split(defs), libtype=['game2', 'player'], priority=[20, 170], compileflags=cflags )
|
||||
|
|
|
@ -32,4 +32,4 @@ sources = ['src/geom.c',
|
|||
|
||||
incs = 'include src'
|
||||
|
||||
env.BlenderLib ( 'extern_qhull', sources, Split(incs), Split(defs), libtype='game2', priority=50, compileflags = cflags)
|
||||
env.BlenderLib ( 'extern_qhull', sources, Split(incs), Split(defs), libtype=['game2','player'], priority=[50, 85], compileflags = cflags)
|
||||
|
|
|
@ -31,4 +31,4 @@ sources = env.Glob('src/*.cpp') + env.Glob('src/convex/*.cpp') + env.Glob('src/c
|
|||
|
||||
incs = 'include src src/broad src/complex src/convex ../qhull/include'
|
||||
|
||||
env.BlenderLib ( libname='extern_solid', sources=sources, includes=Split(incs), defines=Split(defs), libtype='game2', priority=45 , compileflags = cflags)
|
||||
env.BlenderLib ( libname='extern_solid', sources=sources, includes=Split(incs), defines=Split(defs), libtype=['game2','player'], priority=[45, 75] , compileflags = cflags)
|
||||
|
|
|
@ -13,4 +13,4 @@ if env['WITH_BF_OPENAL']:
|
|||
else:
|
||||
defs = 'NO_SOUND'
|
||||
|
||||
env.BlenderLib ('blender_sndsys', sources, Split(incs), Split(defs), libtype=['core','player2'], priority = [20,10] )
|
||||
env.BlenderLib ('bf_soundsystem', sources, Split(incs), Split(defs), libtype=['core','player'], priority = [20,140] )
|
||||
|
|
|
@ -7,4 +7,4 @@ incs = '. intern'
|
|||
incs += ' ' + env['BF_OPENGL_INC']
|
||||
defs = ''
|
||||
|
||||
env.BlenderLib ('blender_BMF', sources, Split(incs), Split(defs), libtype='intern', priority = 20 )
|
||||
env.BlenderLib ('bf_bmfont', sources, Split(incs), Split(defs), libtype=['intern','player'], priority = [20, 185] )
|
||||
|
|
|
@ -5,4 +5,4 @@ sources = env.Glob('intern/*.cpp')
|
|||
|
||||
incs = '. ../moto/include ../container ../memutil'
|
||||
|
||||
env.BlenderLib ('blender_LOD', sources, Split(incs) , [], libtype=['core','common', 'player2'], priority = [10, 20, 5] )
|
||||
env.BlenderLib ('bf_decimation', sources, Split(incs) , [], libtype=['core','common','player'], priority = [10, 20, 25] )
|
||||
|
|
|
@ -27,4 +27,4 @@ else:
|
|||
Exit()
|
||||
|
||||
incs = '. ../string ' + env['BF_OPENGL_INC']
|
||||
env.BlenderLib ('blender_GHOST', sources, Split(incs), [], libtype='core', priority = 25 )
|
||||
env.BlenderLib ('bf_ghost', sources, Split(incs), [], libtype=['core','player'], priority = [25,15] )
|
||||
|
|
|
@ -5,4 +5,4 @@ Import('env')
|
|||
sources = env.Glob('intern/*.c')
|
||||
incs = '.'
|
||||
|
||||
env.BlenderLib ('blender_guardedalloc', sources, Split(incs), [], libtype='intern', priority = 10 )
|
||||
env.BlenderLib ('bf_guardedalloc', sources, Split(incs), [], libtype=['intern', 'player'], priority = [10, 175] )
|
||||
|
|
|
@ -5,4 +5,4 @@ sources = env.Glob('intern/*.cpp')
|
|||
|
||||
incs = '. ..'
|
||||
|
||||
env.BlenderLib ('blender_MEM', sources, Split(incs), [], libtype='intern', priority = 0 )
|
||||
env.BlenderLib ('bf_memutil', sources, Split(incs), [], libtype=['intern', 'player'], priority = [0, 180] )
|
||||
|
|
|
@ -5,4 +5,4 @@ sources = env.Glob('intern/*.cpp')
|
|||
|
||||
incs = 'include'
|
||||
|
||||
env.BlenderLib ('blender_MT', sources, Split(incs), [], libtype=['intern','game','game2'], priority = [15, 55,100] )
|
||||
env.BlenderLib ('bf_moto', sources, Split(incs), [], libtype=['intern','game','game2','player'], priority = [15, 55, 100, 135] )
|
||||
|
|
|
@ -4,4 +4,4 @@ Import ('env')
|
|||
sources = env.Glob('intern/*.cpp')
|
||||
incs = '.'
|
||||
|
||||
env.BlenderLib ('blender_STR', sources, Split(incs), [], libtype='core', priority = 30 )
|
||||
env.BlenderLib ('bf_string', sources, Split(incs), [], libtype=['core', 'player'], priority = [30,10] )
|
||||
|
|
|
@ -7,4 +7,4 @@ sources = env.Glob('intern/*.c')
|
|||
incs = '. #/intern/guardedalloc'
|
||||
incs += ' ' + env['BF_JPEG_INC']
|
||||
|
||||
env.BlenderLib ('blender_avi', sources, Split(incs), [], libtype='core', priority = 90 )
|
||||
env.BlenderLib ('bf_avi', sources, Split(incs), [], libtype=['core','player'], priority = [90, 50] )
|
||||
|
|
|
@ -32,4 +32,4 @@ defs += ' WITH_CCGSUBSURF'
|
|||
if env['WITH_BF_PLAYER']:
|
||||
SConscript(['bad_level_call_stubs/SConscript'])
|
||||
|
||||
env.BlenderLib ( libname = 'blenkernel', sources = sources, includes = Split(incs), defines = Split(defs), libtype='core', priority = 65 )
|
||||
env.BlenderLib ( libname = 'bf_blenkernel', sources = sources, includes = Split(incs), defines = Split(defs), libtype=['core','player'], priority = [65, 20] )
|
||||
|
|
|
@ -11,4 +11,4 @@ defs = ''
|
|||
if env['WITH_BF_INTERNATIONAL']:
|
||||
defs += 'WITH_FREETYPE2'
|
||||
|
||||
env.BlenderLib ('blenkernel_blc', sources = Split(sources), includes=Split(incs), defines=Split(defs), libtype='player2',priority=0 )
|
||||
env.BlenderLib ('blenkernel_blc', sources = Split(sources), includes=Split(incs), defines=Split(defs), libtype='player',priority=225 )
|
||||
|
|
|
@ -12,4 +12,4 @@ defs = ''
|
|||
if env['WITH_BF_INTERNATIONAL'] == 1:
|
||||
defs = 'WITH_FREETYPE2'
|
||||
|
||||
env.BlenderLib ( 'blender_blenlib', sources, Split(incs), Split(defs), libtype='core', priority = 85 )
|
||||
env.BlenderLib ( 'bf_blenlib', sources, Split(incs), Split(defs), libtype=['core','player'], priority = [85,195] )
|
||||
|
|
|
@ -10,4 +10,4 @@ incs += ' ../render/extern/include'
|
|||
|
||||
incs += ' ' + env['BF_ZLIB_INC']
|
||||
|
||||
env.BlenderLib ( 'blender_blenloader', sources, Split(incs), [], libtype='core', priority = 70 )
|
||||
env.BlenderLib ( 'bf_blenloader', sources, Split(incs), [], libtype=['core','player'], priority = [70, 30] )
|
||||
|
|
|
@ -11,4 +11,4 @@ if env['WITH_BF_QUICKTIME'] == 1:
|
|||
defs.append('WITH_QUICKTIME')
|
||||
incs += ' ' + env['BF_QUICKTIME_INC']
|
||||
|
||||
env.BlenderLib ( libname = 'blender_blenpluginapi', sources = sources, includes = Split(incs), defines = defs, libtype='core', priority = 75 )
|
||||
env.BlenderLib ( libname = 'bf_blenpluginapi', sources = sources, includes = Split(incs), defines = defs, libtype=['core', 'player'], priority = [75, 35] )
|
||||
|
|
|
@ -12,4 +12,5 @@ incs += ' ' + env['BF_GETTEXT_INC']
|
|||
defs = 'FTGL_STATIC_LIBRARY'
|
||||
if sys.platform == 'win32':
|
||||
defs += ' _WIN32 USE_GETTEXT_DLL'
|
||||
env.BlenderLib ( 'blender_FTF', sources, Split(incs), Split(defs), libtype='international', priority=0 )
|
||||
|
||||
env.BlenderLib ( 'bf_ftfont', sources, Split(incs), Split(defs), libtype=['international','player'], priority=[0, 205] )
|
||||
|
|
|
@ -23,4 +23,4 @@ if env['WITH_BF_QUICKTIME']==1:
|
|||
incs += ' ' + env['BF_QUICKTIME_INC']
|
||||
defs.append('WITH_QUICKTIME')
|
||||
|
||||
env.BlenderLib ( libname = 'blender_imbuf', sources = sources, includes = Split(incs), defines = defs, libtype='core', priority = 80 )
|
||||
env.BlenderLib ( libname = 'bf_imbuf', sources = sources, includes = Split(incs), defines = defs, libtype=['core','player'], priority = [80, 40] )
|
||||
|
|
|
@ -13,5 +13,4 @@ incs += Split(env['BF_OPENEXR_INC'])
|
|||
|
||||
defs = []
|
||||
|
||||
#openexr_env.Library (target='#'+user_options_dict['BUILD_DIR']+'/lib/blender_openexr', source=source_files)
|
||||
env.BlenderLib ('blender_openexr', source_files, incs, defs, libtype='core', priority = 90)
|
||||
env.BlenderLib ('bf_openexr', source_files, incs, defs, libtype=['core','player'], priority = [90, 200])
|
||||
|
|
|
@ -8,4 +8,4 @@ objs.append (o)
|
|||
|
||||
incs = '#/intern/guardedalloc'
|
||||
|
||||
env.BlenderLib ( 'blender_makesdna', objs, Split(incs), [], libtype='common', priority = 10 )
|
||||
env.BlenderLib ( 'bf_dna', objs, Split(incs), [], libtype=['common','player'], priority = [10, 215] )
|
||||
|
|
|
@ -5,4 +5,4 @@ sources = env.Glob('intern/*.c')
|
|||
|
||||
incs = '. ../blenloader ../blenloader/intern ../blenkernel ../blenlib ../makesdna ../../kernel/gen_messaging'
|
||||
|
||||
env.BlenderLib ( 'blender_readblenfile', sources, Split(incs), [], libtype='common', priority = 0 )
|
||||
env.BlenderLib ( 'bf_readblenfile', sources, Split(incs), [], libtype=['common','player'], priority = [0, 220] )
|
||||
|
|
|
@ -6,4 +6,4 @@ sources = env.Glob('intern/*.cpp')
|
|||
incs = '#/intern/guardedalloc ../blenlib ../makesdna ../blenkernel'
|
||||
incs += ' ../imbuf ../include ../render/extern/include ../render/intern/include'
|
||||
|
||||
env.BlenderLib ( 'blender_yafray', sources, Split(incs), [], libtype='blender', priority=5 )
|
||||
env.BlenderLib ( 'bf_yafray', sources, Split(incs), [], libtype=['blender','player'], priority=[5, 190] )
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
#!/usr/bin/python
|
||||
import sys
|
||||
Import ('env')
|
||||
|
||||
sources = env.Glob('*.cpp')
|
||||
|
@ -22,8 +21,8 @@ incs += ' ' + env['BF_SOLID_INC']
|
|||
incs += ' ' + env['BF_BULLET_INC']
|
||||
incs += ' ' + env['BF_OPENGL_INC']
|
||||
|
||||
# TODO:
|
||||
#if sys.platform=='win32':
|
||||
# kx_blenderhook_env.Append (CXXFLAGS = ['/GR'])
|
||||
cxxflags = []
|
||||
if env['OURPLATFORM']=='win32-vc':
|
||||
cxxflags.append ('/GR')
|
||||
|
||||
env.BlenderLib ( 'KX_blenderhook', sources, Split(incs), [], libtype=['game', 'game2'], priority=[0, 0] )
|
||||
env.BlenderLib ( 'bf_bloutines', sources, Split(incs), [], libtype=['game', 'game2', 'player'], priority=[0, 0, 55] , compileflags=cxxflags)
|
||||
|
|
|
@ -22,4 +22,4 @@ incs += ' ' + env['BF_PYTHON_INC']
|
|||
incs += ' ' + env['BF_SOLID_INC']
|
||||
incs += ' ' + env['BF_BULLET_INC']
|
||||
|
||||
env.BlenderLib ( 'KX_converter', sources, Split(incs), [], libtype='game', priority=5 )
|
||||
env.BlenderLib ( 'bf_converter', sources, Split(incs), [], libtype=['game','player'], priority=[5,70] )
|
||||
|
|
|
@ -6,4 +6,4 @@ sources = env.Glob('*.cpp')
|
|||
incs ='. #source/kernel/gen_system #intern/string #intern/moto/include'
|
||||
incs += ' ' + env['BF_PYTHON_INC']
|
||||
|
||||
env.BlenderLib ( 'blender_expressions', sources, Split(incs), [], libtype='game', priority = 45 )
|
||||
env.BlenderLib ( 'bf_expressions', sources, Split(incs), [], libtype=['game','player'], priority = [45,125] )
|
||||
|
|
|
@ -9,4 +9,4 @@ incs += ' #/source/gameengine/Expressions #/intern/moto/include'
|
|||
incs += ' ' + env['BF_PYTHON_INC']
|
||||
incs += ' ' + env['BF_SDL_INC']
|
||||
|
||||
env.BlenderLib ( 'SCA_GameLogic', sources, Split(incs), [], libtype='game', priority=30 )
|
||||
env.BlenderLib ( 'bf_logic', sources, Split(incs), [], libtype=['game','player'], priority=[30, 110] )
|
||||
|
|
|
@ -69,4 +69,4 @@ cflags=[]
|
|||
if sys.platform=='win32':
|
||||
cflags = ['/GR']
|
||||
|
||||
env.BlenderLib (libname='GPC_common', sources=source_files, includes=incs, defines = [], libtype=['player'], priority=[5], compileflags=cflags)
|
||||
env.BlenderLib (libname='gp_common', sources=source_files, includes=incs, defines = [], libtype='player', priority=5, compileflags=cflags)
|
||||
|
|
|
@ -46,4 +46,4 @@ cflags = []
|
|||
if sys.platform=='win32':
|
||||
cflags = ['/GR']
|
||||
|
||||
env.BlenderLib (libname='GPG_ghost', sources=source_files, includes = incs, defines = [], libtype='player',priority=0, compileflags=cflags)
|
||||
env.BlenderLib (libname='gp_ghost', sources=source_files, includes = incs, defines = [], libtype='player',priority=0, compileflags=cflags)
|
||||
|
|
|
@ -9,4 +9,4 @@ incs += ' #source/gameengine/Network'
|
|||
|
||||
incs += ' ' + env['BF_PYTHON_INC']
|
||||
|
||||
env.BlenderLib ( 'KX_network', Split(sources), Split(incs), defines=[],libtype='game2', priority=5 )
|
||||
env.BlenderLib ( 'kx_network', Split(sources), Split(incs), defines=[],libtype=['game2', 'player'], priority=[5, 155] )
|
||||
|
|
|
@ -20,14 +20,14 @@ incs += ' #source/gameengine/Physics/Sumo #source/gameengine/Physics/Sumo/includ
|
|||
incs += ' #source/gameengine/Physics/Sumo/Fuzzics/include #source/gameengine/Network/LoopBackNetwork'
|
||||
incs += ' #source/blender/misc #source/blender/blenloader'
|
||||
|
||||
#TODO:
|
||||
#if sys.platform == 'win32':
|
||||
# ketsji_env.Append (CXXFLAGS = ['/GR'])
|
||||
# ketsji_env.Append ( CCFLAGS =['/Ox'])
|
||||
cflags = []
|
||||
if env['OURPLATFORM'] == 'win32-vc':
|
||||
cflags.append('/GR')
|
||||
cflags.append('/Ox')
|
||||
|
||||
incs += ' ' + env['BF_SOLID_INC']
|
||||
incs += ' ' + env['BF_PYTHON_INC']
|
||||
incs += ' ' + env['BF_SDL_INC']
|
||||
incs += ' ' + env['BF_BULLET_INC']
|
||||
|
||||
env.BlenderLib ( 'KX_ketsji', sources, Split(incs), [], libtype='game', priority=25 )
|
||||
env.BlenderLib ( 'bf_ketsji', sources, Split(incs), [], libtype=['game','player'], priority=[25, 72], compileflags = cflags )
|
||||
|
|
|
@ -5,4 +5,4 @@ sources = 'NG_LoopBackNetworkDeviceInterface.cpp'
|
|||
|
||||
incs = '. #source/kernel/gen_system #intern/string #source/gameengine/Network'
|
||||
|
||||
env.BlenderLib ( 'NG_loopbacknetwork', Split(sources), Split(incs), defines=[],libtype='game2', priority=25 )
|
||||
env.BlenderLib ( 'bf_loopbacknetwork', Split(sources), Split(incs), defines=[],libtype=['game2', 'player'], priority=[25, 165] )
|
||||
|
|
|
@ -5,4 +5,4 @@ sources = env.Glob('*.cpp') #'NG_NetworkMessage.cpp NG_NetworkObject.cpp NG_Netw
|
|||
|
||||
incs = '. #source/kernel/gen_system #intern/string #intern/moto/include'
|
||||
|
||||
env.BlenderLib ( 'NG_network', sources, Split(incs), [], libtype='game2', priority=15 )
|
||||
env.BlenderLib ( 'bf_ngnetwork', sources, Split(incs), [], libtype=['game2', 'player'], priority=[15, 160] )
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
#!/usr/bin/python
|
||||
import sys
|
||||
Import ('env')
|
||||
|
||||
sources = 'CcdPhysicsEnvironment.cpp CcdPhysicsController.cpp'
|
||||
|
@ -8,9 +7,9 @@ incs = '. ../common'
|
|||
|
||||
incs += ' ' + env['BF_BULLET_INC']
|
||||
|
||||
#TODO:
|
||||
#if sys.platform=='win32':
|
||||
# phy_bullet_env.Append (CXXFLAGS = ['/GR'])
|
||||
# phy_bullet_env.Append (CCFLAGS =['/O2'])
|
||||
cflags = []
|
||||
if env['OURPLATFORM']=='win32-vc':
|
||||
cflags.append('/GR')
|
||||
cflags.append('/O2')
|
||||
|
||||
env.BlenderLib ( 'PHY_Bullet', Split(sources), Split(incs), [], libtype='game', priority=15 )
|
||||
env.BlenderLib ( 'bf_bullet', Split(sources), Split(incs), [], libtype=['game','player'], priority=[15,90] )
|
||||
|
|
|
@ -5,4 +5,4 @@ sources = 'DummyPhysicsEnvironment.cpp'
|
|||
|
||||
incs = '. ../common'
|
||||
|
||||
env.BlenderLib ( 'PHY_Dummy', Split(sources), Split(incs), [], libtype='game', priority=10 )
|
||||
env.BlenderLib ( 'bf_dummy', Split(sources), Split(incs), [], libtype=['game','player'], priority=[10,100] )
|
||||
|
|
|
@ -18,9 +18,9 @@ incs =['.',
|
|||
]
|
||||
incs += [sumoenv['BF_SOLID_INC']]
|
||||
|
||||
if sumoenv['PLATFORM']=='win32':
|
||||
sumoenv.Append (CXXFLAGS = ['/GR'])
|
||||
sumoenv.Append ( CCFLAGS =['/O1'])
|
||||
cflags = []
|
||||
if env['OURPLATFORM']=='win32-vc':
|
||||
cflags.append('/GR')
|
||||
cflags.append('/O1')
|
||||
|
||||
#env.Library (target='#'+user_options_dict['BUILD_DIR']+'/lib/PHY_Sumo', source=source_files)
|
||||
env.BlenderLib ( 'PHY_Sumo', sources, incs, [], libtype='game2', priority=30 )
|
||||
env.BlenderLib ( 'bf_sumo', sources, incs, [], libtype=['game2','player'], priority=[30, 70] , compileflags=cflags)
|
||||
|
|
|
@ -5,4 +5,4 @@ sources = 'PHY_IMotionState.cpp PHY_IPhysicsController.cpp PHY_IPhysicsEnvironme
|
|||
|
||||
incs = '. ../Dummy #intern/moto/include'
|
||||
|
||||
env.BlenderLib ( 'PHY_Physics', Split(sources), Split(incs), [], libtype=['game', 'game2'], priority=[20, 35] )
|
||||
env.BlenderLib ( 'bf_common', Split(sources), Split(incs), [], libtype=['game', 'game2','player'], priority=[20, 35, 95] )
|
||||
|
|
|
@ -6,4 +6,4 @@ sources = env.Glob('*.cpp') #'RAS_GLExtensionManager.cpp RAS_OpenGLRasterizer.cp
|
|||
incs = '. #source/kernel/gen_system #intern/string #intern/moto/include #source/gameengine/Rasterizer'
|
||||
incs += ' ' + env['BF_OPENGL_INC']
|
||||
|
||||
env.BlenderLib ( 'RAS_OpenGLRasterizer', Split(sources), Split(incs), [], libtype='game', priority=40 )
|
||||
env.BlenderLib ( 'bf_oglrasterizer', Split(sources), Split(incs), [], libtype=['game','player'], priority=[40, 120] )
|
||||
|
|
|
@ -1,13 +1,12 @@
|
|||
#!/usr/bin/python
|
||||
import sys
|
||||
Import ('env')
|
||||
|
||||
sources = env.Glob('*.cpp')
|
||||
|
||||
incs = '. #source/kernel/gen_system #intern/string #intern/moto/include'
|
||||
|
||||
#TODO:
|
||||
#if sys.platform=='win32':
|
||||
# ras_rasterizer_env.Append ( CCFLAGS =['/Ox'])
|
||||
cflags = []
|
||||
if env['OURPLATFORM']=='win32-vc':
|
||||
cflags.append('/Ox')
|
||||
|
||||
env.BlenderLib ( 'RAS_rasterizer', sources, Split(incs), [], libtype='game', priority=35 )
|
||||
env.BlenderLib ( 'bf_rasterizer', sources, Split(incs), [], libtype=['game','player'], priority=[35,115], compileflags = cflags )
|
||||
|
|
|
@ -6,4 +6,4 @@ sources = env.Glob('*.cpp') #'SG_BBox.cpp SG_Controller.cpp SG_IObject.cpp SG_No
|
|||
|
||||
incs = '. #intern/moto/include'
|
||||
|
||||
env.BlenderLib ( 'SG_SceneGraph', sources, Split(incs), [], libtype='game', priority=50 )
|
||||
env.BlenderLib ( 'bf_scenegraph', sources, Split(incs), [], libtype=['game','player'], priority=[50,130] )
|
||||
|
|
|
@ -7,4 +7,4 @@ sources += ' gen_system/SYS_System.cpp'
|
|||
|
||||
incs = 'gen_messaging gen_system #/intern/string #/intern/moto/include'
|
||||
|
||||
env.BlenderLib ( 'blender_kernel', Split(sources), Split(incs), [], libtype = ['common','game2'], priority = [15, 10] )
|
||||
env.BlenderLib ( 'bf_kernel', Split(sources), Split(incs), [], libtype = ['common','game2', 'player'], priority = [15, 10, 150] )
|
||||
|
|
Loading…
Reference in New Issue