diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-05-30 06:16:22 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-05-30 06:16:22 +0400 |
commit | 9fb3d3e0322cb6692f822ee374de1ec03ab70454 (patch) | |
tree | 8919dc1e5294f4898e7b4d623818eefbf1519cd7 /source/gameengine/Rasterizer | |
parent | 9cf6e305a90581442d374860d3e4f278624d033c (diff) |
remove redundant includes from cmake and scons.
Diffstat (limited to 'source/gameengine/Rasterizer')
-rw-r--r-- | source/gameengine/Rasterizer/SConscript | 27 |
1 files changed, 12 insertions, 15 deletions
diff --git a/source/gameengine/Rasterizer/SConscript b/source/gameengine/Rasterizer/SConscript index 860b5992daa..5c68ce63a3b 100644 --- a/source/gameengine/Rasterizer/SConscript +++ b/source/gameengine/Rasterizer/SConscript @@ -31,26 +31,23 @@ 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/blenlib', - '#/source/blender/blenkernel', - '#/source/blender/makesdna', + '#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']: - if type(env['BF_PYTHON_INC']) == str: - incs.append(env['BF_PYTHON_INC'].split(' ')) - else: - incs.append(env['BF_PYTHON_INC']) + incs.extend(Split(env['BF_PYTHON_INC'])) defs.append('WITH_PYTHON') if env['WITH_BF_CXX_GUARDEDALLOC']: |