env['NAME'] instead of env['_name']
This commit is contained in:
parent
a408005eb1
commit
b1f11e9732
2 changed files with 2 additions and 2 deletions
|
@ -33,7 +33,7 @@ for mode in (MODE.split(',') if MODE else ['debug']):
|
||||||
print 'Skipping invalid mode: {}'.format(mode)
|
print 'Skipping invalid mode: {}'.format(mode)
|
||||||
break
|
break
|
||||||
|
|
||||||
out_dir = BUILD_DIR.Dir(env['_name'])
|
out_dir = BUILD_DIR.Dir(env['NAME'])
|
||||||
|
|
||||||
# Allow same directory includes.
|
# Allow same directory includes.
|
||||||
env.Append(CPPPATH=['.'])
|
env.Append(CPPPATH=['.'])
|
||||||
|
|
|
@ -24,7 +24,7 @@ class Environment(SCons.Environment.Environment):
|
||||||
|
|
||||||
super(Environment, self).__init__(**kwargs)
|
super(Environment, self).__init__(**kwargs)
|
||||||
|
|
||||||
self['_name'] = name
|
self['NAME'] = name
|
||||||
|
|
||||||
# Modern C/C++
|
# Modern C/C++
|
||||||
if modern:
|
if modern:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue