2.5 / SCons / BGE
* this should bring back BGE with scons building. Tested on scons/msvc, will test scons/gcc in a bit NOTE: this is not WITH_BF_PLAYER yet.
This commit is contained in:
2
extern/qhull/SConscript
vendored
2
extern/qhull/SConscript
vendored
@@ -32,4 +32,4 @@ sources = ['src/geom.c',
|
||||
|
||||
incs = 'include src'
|
||||
|
||||
env.BlenderLib ( 'extern_qhull', sources, Split(incs), Split(defs), libtype=['game2','player'], priority=[50, 85], compileflags = cflags)
|
||||
env.BlenderLib ( 'extern_qhull', sources, Split(incs), Split(defs), libtype=['extern'], priority=[50], compileflags = cflags)
|
||||
|
2
extern/solid/SConscript
vendored
2
extern/solid/SConscript
vendored
@@ -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','player'], priority=[45, 75] , compileflags = cflags)
|
||||
env.BlenderLib ( libname='extern_solid', sources=sources, includes=Split(incs), defines=Split(defs), libtype=['extern'], priority=[10] , compileflags = cflags)
|
||||
|
@@ -27,4 +27,4 @@ cxxflags = []
|
||||
if env['OURPLATFORM']=='win32-vc':
|
||||
cxxflags.append ('/GR')
|
||||
|
||||
env.BlenderLib ( 'bf_bloutines', sources, Split(incs), [], libtype=['game', 'game2', 'player'], priority=[0, 0, 45] , compileflags=cxxflags)
|
||||
env.BlenderLib ( 'bf_bloutines', sources, Split(incs), [], libtype=['core', 'player'], priority=[300, 45] , compileflags=cxxflags)
|
||||
|
@@ -23,4 +23,4 @@ incs += ' ' + env['BF_PYTHON_INC']
|
||||
incs += ' ' + env['BF_SOLID_INC']
|
||||
incs += ' ' + env['BF_BULLET_INC']
|
||||
|
||||
env.BlenderLib ( 'bf_converter', sources, Split(incs), [], libtype=['game','player'], priority=[5,50] )
|
||||
env.BlenderLib ( 'bf_converter', sources, Split(incs), [], libtype=['core','player'], priority=[305,50] )
|
||||
|
@@ -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 ( 'bf_expressions', sources, Split(incs), [], libtype=['game','player'], priority = [45,120] )
|
||||
env.BlenderLib ( 'bf_expressions', sources, Split(incs), [], libtype=['core','player'], priority = [310,120] )
|
||||
|
@@ -17,4 +17,4 @@ if env['WITH_BF_SDL']:
|
||||
else:
|
||||
defs += ' DISABLE_SDL'
|
||||
|
||||
env.BlenderLib ( 'bf_logic', sources, Split(incs), Split(defs), libtype=['game','player'], priority=[30, 100] )
|
||||
env.BlenderLib ( 'bf_logic', sources, Split(incs), Split(defs), libtype=['core','player'], priority=[315, 100] )
|
||||
|
@@ -9,4 +9,4 @@ incs += ' #source/gameengine/Network'
|
||||
|
||||
incs += ' ' + env['BF_PYTHON_INC']
|
||||
|
||||
env.BlenderLib ( 'kx_network', Split(sources), Split(incs), defines=[],libtype=['game2', 'player'], priority=[5, 145] )
|
||||
env.BlenderLib ( 'kx_network', Split(sources), Split(incs), defines=[],libtype=['core', 'player'], priority=[400, 145] )
|
||||
|
@@ -48,4 +48,4 @@ incs += ' ' + env['BF_OPENGL_INC']
|
||||
if env['WITH_BF_SDL']:
|
||||
incs += ' ' + env['BF_SDL_INC']
|
||||
|
||||
env.BlenderLib ( 'bf_ketsji', sources, Split(incs), [], libtype=['game','player'], priority=[25, 60], compileflags = cflags )
|
||||
env.BlenderLib ( 'bf_ketsji', sources, Split(incs), [], libtype=['core','player'], priority=[320, 60], compileflags = cflags )
|
||||
|
@@ -5,4 +5,4 @@ sources = 'NG_LoopBackNetworkDeviceInterface.cpp'
|
||||
|
||||
incs = '. #source/kernel/gen_system #intern/string #source/gameengine/Network'
|
||||
|
||||
env.BlenderLib ( 'bf_loopbacknetwork', Split(sources), Split(incs), defines=[],libtype=['game2', 'player'], priority=[35, 155] )
|
||||
env.BlenderLib ( 'bf_loopbacknetwork', Split(sources), Split(incs), defines=[],libtype=['core', 'player'], priority=[400, 155] )
|
||||
|
@@ -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 ( 'bf_ngnetwork', sources, Split(incs), [], libtype=['game2', 'player'], priority=[15, 150] )
|
||||
env.BlenderLib ( 'bf_ngnetwork', sources, Split(incs), [], libtype=['core', 'player'], priority=[400, 150] )
|
||||
|
@@ -12,4 +12,4 @@ if env['OURPLATFORM']=='win32-vc':
|
||||
cflags.append('/GR')
|
||||
cflags.append('/O2')
|
||||
|
||||
env.BlenderLib ( 'bf_bullet', Split(sources), Split(incs), [], libtype=['game','player'], priority=[15,80] )
|
||||
env.BlenderLib ( 'bf_bullet', Split(sources), Split(incs), [], libtype=['core','player'], priority=[360,80] )
|
||||
|
@@ -5,4 +5,4 @@ sources = 'DummyPhysicsEnvironment.cpp'
|
||||
|
||||
incs = '. ../common'
|
||||
|
||||
env.BlenderLib ( 'bf_dummy', Split(sources), Split(incs), [], libtype=['game','player'], priority=[10,95] )
|
||||
env.BlenderLib ( 'bf_dummy', Split(sources), Split(incs), [], libtype=['core','player'], priority=[350,95] )
|
||||
|
@@ -22,4 +22,4 @@ if env['OURPLATFORM']=='win32-vc':
|
||||
cflags.append('/GR')
|
||||
cflags.append('/O1')
|
||||
|
||||
env.BlenderLib ( 'bf_sumo', sources, incs, [], libtype=['game2','player'], priority=[40, 55] , compileflags=cflags)
|
||||
env.BlenderLib ( 'bf_sumo', sources, incs, [], libtype=['core','player'], priority=[400, 55] , compileflags=cflags)
|
||||
|
@@ -5,4 +5,4 @@ sources = 'PHY_IMotionState.cpp PHY_IPhysicsController.cpp PHY_IPhysicsEnvironme
|
||||
|
||||
incs = '. ../Dummy #intern/moto/include'
|
||||
|
||||
env.BlenderLib ( 'bf_common', Split(sources), Split(incs), [], libtype=['game', 'game2','player'], priority=[20, 45, 90] )
|
||||
env.BlenderLib ( 'bf_common', Split(sources), Split(incs), [], libtype=['core','player'], priority=[350, 90] )
|
||||
|
@@ -6,4 +6,4 @@ sources = env.Glob('*.cpp')
|
||||
incs = '. #source/kernel/gen_system #intern/string #intern/moto/include #source/gameengine/Rasterizer #source/gameengine/BlenderRoutines '
|
||||
incs += ' #source/blender/gpu #extern/glew/include ' + env['BF_OPENGL_INC']
|
||||
|
||||
env.BlenderLib ( 'bf_oglrasterizer', Split(sources), Split(incs), [], libtype=['game','player'], priority=[40, 115] )
|
||||
env.BlenderLib ( 'bf_oglrasterizer', Split(sources), Split(incs), [], libtype=['core','player'], priority=[350, 115] )
|
||||
|
@@ -10,6 +10,6 @@ incs += ' ' + env['BF_PYTHON_INC']
|
||||
if env['OURPLATFORM']=='win32-vc':
|
||||
cflags = []
|
||||
cflags.append('/Ox')
|
||||
env.BlenderLib ( 'bf_rasterizer', sources, Split(incs), [], libtype=['game','player'], priority=[35,115], compileflags = cflags )
|
||||
env.BlenderLib ( 'bf_rasterizer', sources, Split(incs), [], libtype=['core','player'], priority=[350,115], compileflags = cflags )
|
||||
else:
|
||||
env.BlenderLib ( 'bf_rasterizer', sources, Split(incs), [], libtype=['game','player'], priority=[35,115] )
|
||||
env.BlenderLib ( 'bf_rasterizer', sources, Split(incs), [], libtype=['core','player'], priority=[350,115] )
|
||||
|
@@ -3,7 +3,7 @@ Import ('env')
|
||||
|
||||
SConscript(['BlenderRoutines/SConscript',
|
||||
'Converter/SConscript',
|
||||
'Expressions/SConscript',
|
||||
'Expressions/SConscript', #310
|
||||
'GameLogic/SConscript',
|
||||
'Ketsji/SConscript',
|
||||
'Ketsji/KXNetwork/SConscript',
|
||||
|
@@ -2,8 +2,8 @@
|
||||
|
||||
Import ('env')
|
||||
|
||||
sources = env.Glob('*.cpp') #'SG_BBox.cpp SG_Controller.cpp SG_IObject.cpp SG_Node.cpp SG_Spatial.cpp SG_Tree.cpp'
|
||||
sources = env.Glob('*.cpp')
|
||||
|
||||
incs = '. #intern/moto/include'
|
||||
|
||||
env.BlenderLib ( 'bf_scenegraph', sources, Split(incs), [], libtype=['game','player'], priority=[50,125] )
|
||||
env.BlenderLib ( 'bf_scenegraph', sources, Split(incs), [], libtype=['core','player'], priority=[280,125] )
|
||||
|
@@ -29,4 +29,4 @@ if env['WITH_BF_FFMPEG']:
|
||||
incs += ' ' + env['BF_FFMPEG_INC']
|
||||
defs += ' __STDC_CONSTANT_MACROS'
|
||||
|
||||
env.BlenderLib ( 'bf_videotex', sources, Split(incs), Split(defs), libtype=['game','player'], priority=[25, 72], compileflags = cflags )
|
||||
env.BlenderLib ( 'bf_videotex', sources, Split(incs), Split(defs), libtype=['core','player'], priority=[300, 72], compileflags = cflags )
|
||||
|
Reference in New Issue
Block a user