diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-02-23 06:03:53 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-02-23 06:03:53 +0400 |
commit | 6c0b8ec0649b28aa21f86aaa45afcdc5ad9c8d74 (patch) | |
tree | 638759f3c4d164498d2a24f6742214100f8b72e0 /source/gameengine/Rasterizer | |
parent | a528cb9905c3786bad6f1f2163ed5f5620959566 (diff) |
add include for scons.
Diffstat (limited to 'source/gameengine/Rasterizer')
-rw-r--r-- | source/gameengine/Rasterizer/SConscript | 27 |
1 files changed, 21 insertions, 6 deletions
diff --git a/source/gameengine/Rasterizer/SConscript b/source/gameengine/Rasterizer/SConscript index 438e95391bb..4ff79d9ce24 100644 --- a/source/gameengine/Rasterizer/SConscript +++ b/source/gameengine/Rasterizer/SConscript @@ -29,16 +29,31 @@ Import ('env') sources = env.Glob('*.cpp') - -incs = '. #intern/guardedalloc #intern/string #intern/moto/include #intern/container #source/gameengine/BlenderRoutines #extern/glew/include #source/gameengine/Expressions #source/gameengine/SceneGraph #source/blender/blenkernel #source/blender/makesdna' - -defs = [ 'GLEW_STATIC' ] +incs = [ + '.', + '#intern/guardedalloc', + '#intern/string', + '#intern/moto/include', + '#intern/container', + '#source/gameengine/BlenderRoutines', + '#extern/glew/include', + '#source/gameengine/Expressions', + '#source/gameengine/SceneGraph', + '#source/blender/blenlib', + '#source/blender/blenkernel', + '#source/blender/makesdna', + ] + +defs = ['GLEW_STATIC'] if env['WITH_BF_PYTHON']: - incs += ' ' + env['BF_PYTHON_INC'] + incs.append(env['BF_PYTHON_INC']) defs.append('WITH_PYTHON') if env['WITH_BF_CXX_GUARDEDALLOC']: defs.append('WITH_CXX_GUARDEDALLOC') -env.BlenderLib ( 'ge_rasterizer', sources, Split(incs), defs, libtype=['core','player'], priority=[350,70], cxx_compileflags=env['BGE_CXXFLAGS']) +env.BlenderLib('ge_rasterizer', sources, + includes=incs, defines=defs, + libtype=['core', 'player'], priority=[350, 70], + cxx_compileflags=env['BGE_CXXFLAGS']) |