forked from bartvdbraak/blender
cb12337363
anything, only contained a hash map and functions to pass command line args to the game engine. Moved those to container and BlenderRoutines modules.
18 lines
571 B
Python
18 lines
571 B
Python
#!/usr/bin/python
|
|
Import ('env')
|
|
|
|
sources = env.Glob('*.cpp')
|
|
|
|
incs = '. #intern/string #intern/moto/include'
|
|
incs += ' #source/gameengine/Ketsji #intern/container'
|
|
incs += ' #source/gameengine/GameLogic #source/gameengine/Expressions'
|
|
incs += ' #source/gameengine/Network #source/gameengine/SceneGraph'
|
|
|
|
defs = []
|
|
|
|
if env['WITH_BF_PYTHON']:
|
|
incs += ' ' + env['BF_PYTHON_INC']
|
|
defs.append('WITH_PYTHON')
|
|
|
|
env.BlenderLib ( 'bf_network', Split(sources), Split(incs), defines=defs,libtype=['core','player'], priority=[400,125], cxx_compileflags=env['BGE_CXXFLAGS'])
|