diff options
| author | heyuanjie <[email protected]> | 2018-05-24 16:44:31 +0800 |
|---|---|---|
| committer | heyuanjie <[email protected]> | 2018-05-24 16:44:31 +0800 |
| commit | 10d26fd3f839bc419605f3bb2ddb0e86af8179d1 (patch) | |
| tree | 55ae4c2d8e03b3435f7313af94f07639934609c2 /tools | |
| parent | 4ec3552c0f7b162d616e846914dd29cfca8a87dc (diff) | |
优化cbp脚本
Diffstat (limited to 'tools')
| -rw-r--r-- | tools/codeblocks.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/codeblocks.py b/tools/codeblocks.py index 6bcca474c4..c45a5dca91 100644 --- a/tools/codeblocks.py +++ b/tools/codeblocks.py @@ -108,7 +108,8 @@ def CBProject(target, script, program): for macro in building.Env.get('CPPDEFINES', []): Add = SubElement(elem, 'Add') - Add.set('option', "-D"+macro[0]) + for d in macro: + Add.set('option', "-D"+d) # write link flags ''' |
