Skip to content

Commit ef528f1

Browse files
committed
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.
1 parent a548a52 commit ef528f1

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

Modules/Compiler/TI-ASM.cmake

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,4 @@
1-
set(CMAKE_LIBRARY_PATH_FLAG "--search_path=")
2-
set(CMAKE_LINK_LIBRARY_FLAG "--library=")
3-
set(CMAKE_INCLUDE_FLAG_ASM "--include_path=")
4-
5-
set(CMAKE_ASM_COMPILE_OBJECT "<CMAKE_ASM_COMPILER> --compile_only --asm_file=<SOURCE> <DEFINES> <INCLUDES> <FLAGS> --output_file=<OBJECT>")
6-
set(CMAKE_ASM_LINK_EXECUTABLE "<CMAKE_ASM_COMPILER> <OBJECTS> --run_linker --output_file=<TARGET> <CMAKE_ASM_LINK_FLAGS> <LINK_FLAGS> <LINK_LIBRARIES>")
1+
include(Compiler/TI)
2+
__compiler_ti(ASM)
73

84
set(CMAKE_ASM_SOURCE_FILE_EXTENSIONS asm;s;abs)

0 commit comments

Comments
 (0)