diff options
author | Alex Neundorf <neundorf@kde.org> | 2013-03-13 22:11:29 (GMT) |
---|---|---|
committer | Alex Neundorf <neundorf@kde.org> | 2013-03-14 20:47:59 (GMT) |
commit | b3015862e547319bdc91fab5f28a366640ab50ea (patch) | |
tree | 9d6e8f4330de552b9d42b6b42ec6fe00e660a7ea /Modules/Compiler/TI-ASM.cmake | |
parent | 12b25df882968b4f5807f2734c98847337d518a9 (diff) | |
download | CMake-b3015862e547319bdc91fab5f28a366640ab50ea.zip CMake-b3015862e547319bdc91fab5f28a366640ab50ea.tar.gz CMake-b3015862e547319bdc91fab5f28a366640ab50ea.tar.bz2 |
rename TI_DSP toolchain to TI, since it works also for the ARM compiler
Additionally, look for a special ar and strip
Alex
Diffstat (limited to 'Modules/Compiler/TI-ASM.cmake')
-rw-r--r-- | Modules/Compiler/TI-ASM.cmake | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Modules/Compiler/TI-ASM.cmake b/Modules/Compiler/TI-ASM.cmake new file mode 100644 index 0000000..e097626 --- /dev/null +++ b/Modules/Compiler/TI-ASM.cmake @@ -0,0 +1,8 @@ +set(CMAKE_LIBRARY_PATH_FLAG "--search_path=") +set(CMAKE_LINK_LIBRARY_FLAG "--library=") +set(CMAKE_INCLUDE_FLAG_ASM "--include_path=") + +set(CMAKE_ASM_COMPILE_OBJECT "<CMAKE_ASM_COMPILER> --compile_only --asm_file=<SOURCE> <DEFINES> <FLAGS> --output_file=<OBJECT>") +set(CMAKE_ASM_LINK_EXECUTABLE "<CMAKE_ASM_COMPILER> <OBJECTS> --run_linker --output_file=<TARGET> <CMAKE_ASM_LINK_FLAGS> <LINK_FLAGS> <LINK_LIBRARIES>") + +set(CMAKE_ASM_SOURCE_FILE_EXTENSIONS asm;s;abs) |