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

file.
This commit is contained in:
Jonathan Protzenko 2015-08-24 10:55:22 -07:00
parent 8491b558e0
commit e258a52c79

View file

@ -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