File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
tools/build_script_generator/cmake/resources Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ include(cmake/ModmConfiguration.cmake)
14
14
%% if asm_sources | length
15
15
set_source_files_properties(
16
16
%% for file in asm_sources | sort
17
- {{ file | relocate }}
17
+ {{ file | relocate | modm.posixify }}
18
18
%% endfor
19
19
PROPERTIES LANGUAGE CXX
20
20
)
@@ -24,15 +24,15 @@ set_source_files_properties(
24
24
%% if sources | length
25
25
add_library(modm OBJECT
26
26
%% for file, flags in sources | sort
27
- {{ file | relocate }}
27
+ {{ file | relocate | modm.posixify }}
28
28
%% endfor
29
29
)
30
30
31
31
%% endif
32
32
33
33
%% if per_file_attr | length
34
34
%% for section in per_file_attr | sort
35
- {{ section }}
35
+ {{ section | modm.posixify }}
36
36
%% endfor
37
37
38
38
%% endif
@@ -46,7 +46,7 @@ modm_target_config_create(modm modm_arch_options modm_options modm_warnings)
46
46
%% if include_paths | length
47
47
target_include_directories(modm SYSTEM PUBLIC
48
48
%% for path in include_paths | sort
49
- {{ path | relocate }}
49
+ {{ path | relocate | modm.posixify }}
50
50
%% endfor
51
51
)
52
52
Original file line number Diff line number Diff line change @@ -99,7 +99,7 @@ function(modm_target_config_create target target_arch target_options target_warn
99
99
%% macro generate_flags_for_profile (name , profile )
100
100
set ({{ name | upper }}{{ "_" ~ (profile | upper ) if profile | length else "" }}
101
101
%% for flag in flags [name][profile] | sort
102
- {{ flag | flags_format }}
102
+ {{ flag | flags_format | modm.posixify }}
103
103
%% endfor
104
104
)
105
105
%% endmacro
You can’t perform that action at this time.
0 commit comments