forked from bartvdbraak/blender
1dd1cea06e
This define wasn't set in some parts of the BGE causing problems with the view matrix. in CMake define for the entire BGE fixes this.
20 lines
465 B
Python
20 lines
465 B
Python
#!/usr/bin/python
|
|
|
|
Import ('env')
|
|
|
|
sources = env.Glob('*.cpp')
|
|
|
|
incs = '. #intern/moto/include'
|
|
|
|
defs = []
|
|
|
|
if env['WITH_BF_CXX_GUARDEDALLOC']:
|
|
defs.append('WITH_CXX_GUARDEDALLOC')
|
|
incs += ' #intern/guardedalloc'
|
|
|
|
if env['WITH_BF_PYTHON']:
|
|
incs += ' ' + env['BF_PYTHON_INC']
|
|
defs.append('WITH_PYTHON')
|
|
|
|
env.BlenderLib ( 'ge_scenegraph', sources, Split(incs), defs, libtype=['core','player'], priority=[325,85], cxx_compileflags=env['BGE_CXXFLAGS'])
|