summaryrefslogtreecommitdiffstats
path: root/Modules/Compiler/TI-ASM.cmake
diff options
context:
space:
mode:
authorJosef Angstenberger <code@jtxa.de>2020-07-11 14:26:17 (GMT)
committerJosef Angstenberger <code@jtxa.de>2020-07-14 00:23:57 (GMT)
commitef528f10bf7e9fe6a2c0f043102c24e76212f542 (patch)
tree26e6d004b6bf19cc9de52447818e264ee39664c1 /Modules/Compiler/TI-ASM.cmake
parenta548a522305152a8d732f95a4977928e487c5f57 (diff)
downloadCMake-ef528f10bf7e9fe6a2c0f043102c24e76212f542.zip
CMake-ef528f10bf7e9fe6a2c0f043102c24e76212f542.tar.gz
CMake-ef528f10bf7e9fe6a2c0f043102c24e76212f542.tar.bz2
Compiler/TI: Sync ASM settings to C/CXX
For assembler the same compiler executable is used as for C/CXX. So the setting shall be kept in sync.
Diffstat (limited to 'Modules/Compiler/TI-ASM.cmake')
-rw-r--r--Modules/Compiler/TI-ASM.cmake8
1 files changed, 2 insertions, 6 deletions
diff --git a/Modules/Compiler/TI-ASM.cmake b/Modules/Compiler/TI-ASM.cmake
index a566d70..01965d2 100644
--- a/Modules/Compiler/TI-ASM.cmake
+++ b/Modules/Compiler/TI-ASM.cmake
@@ -1,8 +1,4 @@
-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> <INCLUDES> <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>")
+include(Compiler/TI)
+__compiler_ti(ASM)
set(CMAKE_ASM_SOURCE_FILE_EXTENSIONS asm;s;abs)