summaryrefslogtreecommitdiffstats
path: root/Modules/Compiler/TI_DSP-ASM.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Modules/Compiler/TI_DSP-ASM.cmake')
-rw-r--r--Modules/Compiler/TI_DSP-ASM.cmake8
1 files changed, 8 insertions, 0 deletions
diff --git a/Modules/Compiler/TI_DSP-ASM.cmake b/Modules/Compiler/TI_DSP-ASM.cmake
new file mode 100644
index 0000000..e097626
--- /dev/null
+++ b/Modules/Compiler/TI_DSP-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)