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)
1414%% if asm_sources | length
1515set_source_files_properties(
1616%% for file in asm_sources | sort
17- {{ file | relocate }}
17+ {{ file | relocate | modm.posixify }}
1818%% endfor
1919 PROPERTIES LANGUAGE CXX
2020)
@@ -24,15 +24,15 @@ set_source_files_properties(
2424%% if sources | length
2525add_library(modm OBJECT
2626%% for file, flags in sources | sort
27- {{ file | relocate }}
27+ {{ file | relocate | modm.posixify }}
2828%% endfor
2929)
3030
3131%% endif
3232
3333%% if per_file_attr | length
3434%% for section in per_file_attr | sort
35- {{ section }}
35+ {{ section | modm.posixify }}
3636%% endfor
3737
3838%% endif
@@ -46,7 +46,7 @@ modm_target_config_create(modm modm_arch_options modm_options modm_warnings)
4646%% if include_paths | length
4747target_include_directories(modm SYSTEM PUBLIC
4848%% for path in include_paths | sort
49- {{ path | relocate }}
49+ {{ path | relocate | modm.posixify }}
5050%% endfor
5151)
5252
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
9999%% macro generate_flags_for_profile(name , profile)
100100set ({{ name | upper }}{{ "_" ~ (profile | upper) if profile | length else "" }}
101101%% for flag in flags [name ][profile] | sort
102- {{ flag | flags_format }}
102+ {{ flag | flags_format | modm.posixify }}
103103%% endfor
104104 )
105105%% endmacro
You can’t perform that action at this time.
0 commit comments