[SCons] Remove unnecessary include directories
This commit is contained in:
parent
2fb9ff630d
commit
f46f755057
2 changed files with 1 additions and 2 deletions
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -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),
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue