My CMake skills are weak... properly implement the GCC/ARMCC switch for the S

file.
master
Jonathan Protzenko 7 years ago
parent 8491b558e0
commit e258a52c79
  1. 2
      source/CMakeLists.txt

@ -31,7 +31,7 @@ set(YOTTA_AUTO_MICROBIT-DAL_CPP_FILES
if(CMAKE_COMPILER_IS_GNUCC)
file(REMOVE "CortexContextSwitch.s")
file(RENAME "CortexContextSwitch.s.gcc" "CortexContextSwitch.s")
configure_file("CortexContextSwitch.s.gcc" "CortexContextSwitch.s" COPYONLY)
endif()
set(YOTTA_AUTO_MICROBIT-DAL_S_FILES

Loading…
Cancel
Save