commit
2582994e57
1
Modules/Compiler/Clang-ASM.cmake
Normal file
1
Modules/Compiler/Clang-ASM.cmake
Normal file
@ -0,0 +1 @@
|
|||||||
|
include(Compiler/GNU-ASM)
|
@ -8,7 +8,7 @@ set(SRCS)
|
|||||||
# (at least) the following toolchains can process assembler files directly
|
# (at least) the following toolchains can process assembler files directly
|
||||||
# and also generate assembler files from C:
|
# and also generate assembler files from C:
|
||||||
if("${CMAKE_GENERATOR}" MATCHES "Makefile")
|
if("${CMAKE_GENERATOR}" MATCHES "Makefile")
|
||||||
if(("${CMAKE_C_COMPILER_ID}" MATCHES "^(GNU|HP|SunPro|XL)$") OR ("${CMAKE_C_COMPILER_ID}" STREQUAL "Intel" AND UNIX))
|
if(("${CMAKE_C_COMPILER_ID}" MATCHES "^(GNU|Clang|HP|SunPro|XL)$") OR ("${CMAKE_C_COMPILER_ID}" STREQUAL "Intel" AND UNIX))
|
||||||
set(C_FLAGS "${CMAKE_C_FLAGS}")
|
set(C_FLAGS "${CMAKE_C_FLAGS}")
|
||||||
separate_arguments(C_FLAGS)
|
separate_arguments(C_FLAGS)
|
||||||
set(SRCS main.s)
|
set(SRCS main.s)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user