优化cbp脚本
This commit is contained in:
parent
4ec3552c0f
commit
10d26fd3f8
|
@ -108,7 +108,8 @@ def CBProject(target, script, program):
|
||||||
|
|
||||||
for macro in building.Env.get('CPPDEFINES', []):
|
for macro in building.Env.get('CPPDEFINES', []):
|
||||||
Add = SubElement(elem, 'Add')
|
Add = SubElement(elem, 'Add')
|
||||||
Add.set('option', "-D"+macro[0])
|
for d in macro:
|
||||||
|
Add.set('option', "-D"+d)
|
||||||
|
|
||||||
# write link flags
|
# write link flags
|
||||||
'''
|
'''
|
||||||
|
|
Loading…
Reference in New Issue