mirror of
https://github.com/reactos/CMake.git
synced 2024-12-05 02:06:34 +00:00
9408a7a802
This placeholder was added to the compilation rules for other languages by commit v3.4.0-rc1~342^2 (Factor an <INCLUDES> placeholder out of <FLAGS> in rule variables, 2015-07-13) but ASM was incorrectly left out. Signed-off-by: Gregor Jasny <gjasny@googlemail.com>
20 lines
671 B
CMake
20 lines
671 B
CMake
if(UNIX)
|
|
set(CMAKE_ASM${ASM_DIALECT}_OUTPUT_EXTENSION .o)
|
|
else()
|
|
set(CMAKE_ASM${ASM_DIALECT}_OUTPUT_EXTENSION .obj)
|
|
endif()
|
|
|
|
set(CMAKE_ASM${ASM_DIALECT}_COMPILE_OBJECT "<CMAKE_ASM${ASM_DIALECT}_COMPILER> <INCLUDES> <FLAGS> -o <OBJECT> <SOURCE>")
|
|
|
|
set(CMAKE_ASM${ASM_DIALECT}_CREATE_STATIC_LIBRARY
|
|
"<CMAKE_AR> cr <TARGET> <LINK_FLAGS> <OBJECTS> "
|
|
"<CMAKE_RANLIB> <TARGET> ")
|
|
|
|
set(CMAKE_ASM${ASM_DIALECT}_LINK_EXECUTABLE
|
|
"<CMAKE_LINKER> <FLAGS> <CMAKE_ASM${ASM_DIALECT}_LINK_FLAGS> <LINK_FLAGS> <OBJECTS> -o <TARGET> <LINK_LIBRARIES>")
|
|
|
|
# to be done
|
|
set(CMAKE_ASM${ASM_DIALECT}_CREATE_SHARED_LIBRARY)
|
|
set(CMAKE_ASM${ASM_DIALECT}_CREATE_SHARED_MODULE)
|
|
|