allow imxrt build with dual exmaples

This commit is contained in:
hathach
2023-05-10 11:15:11 +07:00
parent bc579c045e
commit c0e4c02b9d
6 changed files with 30 additions and 22 deletions

View File

@@ -8,7 +8,8 @@ foreach(LANG IN ITEMS C CXX ASM)
#cmake_print_variables(CMAKE_${LANG}_FLAGS_INIT)
# optimization flags
set(CMAKE_${LANG}_FLAGS_DEBUG_INIT "-Og")
set(CMAKE_${LANG}_FLAGS_RELEASE_INIT "-Os")
set(CMAKE_${LANG}_FLAGS_DEBUG_INIT "-O0")
endforeach()
# Linker