File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -68,10 +68,10 @@ def generate(self):
68
68
# get flags from toolchain and apply
69
69
project_data ['tool_specific' ]['uvision' ]['misc' ] = {}
70
70
project_data ['tool_specific' ]['uvision' ]['misc' ]['asm_flags' ] = list (set (self .toolchain .flags ['common' ] + self .toolchain .flags ['asm' ]))
71
- project_data ['tool_specific' ]['uvision' ]['misc' ]['c_flags' ] = list (set (self .toolchain .flags ['common' ] + self .toolchain .flags ['c' ]))
71
+ # cxx flags included, as uvision have them all in one tab
72
+ project_data ['tool_specific' ]['uvision' ]['misc' ]['c_flags' ] = list (set (self .toolchain .flags ['common' ] + self .toolchain .flags ['c' ] + self .toolchain .flags ['cxx' ]))
72
73
# not compatible with c99 flag set in the template
73
74
project_data ['tool_specific' ]['uvision' ]['misc' ]['c_flags' ].remove ("--c99" )
74
- project_data ['tool_specific' ]['uvision' ]['misc' ]['cxx_flags' ] = list (set (self .toolchain .flags ['common' ]))
75
75
project_data ['tool_specific' ]['uvision' ]['misc' ]['ld_flags' ] = self .toolchain .flags ['ld' ]
76
76
77
77
i = 0
Original file line number Diff line number Diff line change @@ -68,10 +68,10 @@ def generate(self):
68
68
# get flags from toolchain and apply
69
69
project_data ['tool_specific' ]['uvision5' ]['misc' ] = {}
70
70
project_data ['tool_specific' ]['uvision5' ]['misc' ]['asm_flags' ] = list (set (self .toolchain .flags ['common' ] + self .toolchain .flags ['asm' ]))
71
- project_data ['tool_specific' ]['uvision5' ]['misc' ]['c_flags' ] = list (set (self .toolchain .flags ['common' ] + self .toolchain .flags ['c' ]))
71
+ # cxx flags included, as uvision have them all in one tab
72
+ project_data ['tool_specific' ]['uvision5' ]['misc' ]['c_flags' ] = list (set (self .toolchain .flags ['common' ] + self .toolchain .flags ['c' ] + self .toolchain .flags ['cxx' ]))
72
73
# not compatible with c99 flag set in the template
73
74
project_data ['tool_specific' ]['uvision5' ]['misc' ]['c_flags' ].remove ("--c99" )
74
- project_data ['tool_specific' ]['uvision5' ]['misc' ]['cxx_flags' ] = list (set (self .toolchain .flags ['common' ]))
75
75
project_data ['tool_specific' ]['uvision5' ]['misc' ]['ld_flags' ] = self .toolchain .flags ['ld' ]
76
76
77
77
i = 0
You can’t perform that action at this time.
0 commit comments