2010-09-04 19:06:15 +00:00
|
|
|
#!/usr/bin/python
|
|
|
|
Import ('env')
|
|
|
|
|
|
|
|
sources = env.Glob('*.cpp')
|
|
|
|
|
2011-05-06 20:18:42 +00:00
|
|
|
incs = '. #intern/string #intern/moto/include'
|
|
|
|
incs += ' #source/gameengine/Ketsji #intern/container'
|
2010-09-04 19:06:15 +00:00
|
|
|
incs += ' #source/gameengine/GameLogic #source/gameengine/Expressions'
|
|
|
|
incs += ' #source/gameengine/Network #source/gameengine/SceneGraph'
|
|
|
|
|
|
|
|
defs = []
|
|
|
|
|
|
|
|
if env['WITH_BF_PYTHON']:
|
2010-08-29 20:52:05 +00:00
|
|
|
incs += ' ' + env['BF_PYTHON_INC']
|
2010-10-31 04:11:39 +00:00
|
|
|
defs.append('WITH_PYTHON')
|
2011-03-17 23:30:29 +00:00
|
|
|
|
2010-09-04 19:06:15 +00:00
|
|
|
env.BlenderLib ( 'bf_network', Split(sources), Split(incs), defines=defs,libtype=['core','player'], priority=[400,125], cxx_compileflags=env['BGE_CXXFLAGS'])
|