[SCons] Remove unnecessary include directories

This commit is contained in:
Ray Speth 2014-03-13 21:35:24 +00:00
parent 2fb9ff630d
commit f46f755057
2 changed files with 1 additions and 2 deletions

View file

@ -39,7 +39,6 @@ libs = [('base', ['cpp'], baseSetup),
for subdir, extensions, setup in libs:
localenv = env.Clone()
localenv.Prepend(CPPPATH=Dir('#include'))
localenv.Prepend(CPPPATH=Dir('#src')) # todo: remove when not needed
localenv.Append(CCFLAGS=env['warning_flags'])
source = setup(localenv, subdir, extensions)
objects = localenv.SharedObject(source)

View file

@ -2,7 +2,7 @@ from buildutils import *
Import('env', 'build', 'install')
localenv = env.Clone()
localenv.Prepend(CPPPATH=['#src', '#include', '#src/apps'])
localenv.Prepend(CPPPATH=['#include', '#src/apps'])
def buildProgram(name, src):
prog = build(localenv.Program(target=pjoin('#build/bin', name),