2012-08-13 21:47:32 +04:00
|
|
|
if(UNIX)
|
|
|
|
set(CMAKE_ASM${ASM_DIALECT}_OUTPUT_EXTENSION .o)
|
2012-08-13 21:50:14 +04:00
|
|
|
else()
|
2012-08-13 21:47:32 +04:00
|
|
|
set(CMAKE_ASM${ASM_DIALECT}_OUTPUT_EXTENSION .obj)
|
2012-08-13 21:50:14 +04:00
|
|
|
endif()
|
2007-06-28 17:14:27 +04:00
|
|
|
|
2012-08-13 21:47:32 +04:00
|
|
|
set(CMAKE_ASM${ASM_DIALECT}_COMPILE_OBJECT "<CMAKE_ASM${ASM_DIALECT}_COMPILER> <FLAGS> -o <OBJECT> <SOURCE>")
|
2007-06-28 17:14:27 +04:00
|
|
|
|
2012-08-13 21:47:32 +04:00
|
|
|
set(CMAKE_ASM${ASM_DIALECT}_CREATE_STATIC_LIBRARY
|
2007-06-28 17:14:27 +04:00
|
|
|
"<CMAKE_AR> cr <TARGET> <LINK_FLAGS> <OBJECTS> "
|
|
|
|
"<CMAKE_RANLIB> <TARGET> ")
|
|
|
|
|
2012-08-13 21:47:32 +04:00
|
|
|
set(CMAKE_ASM${ASM_DIALECT}_LINK_EXECUTABLE
|
2007-06-28 17:14:27 +04:00
|
|
|
"<CMAKE_LINKER> <FLAGS> <CMAKE_ASM${ASM_DIALECT}_LINK_FLAGS> <LINK_FLAGS> <OBJECTS> -o <TARGET> <LINK_LIBRARIES>")
|
|
|
|
|
|
|
|
# to be done
|
2012-08-13 21:47:32 +04:00
|
|
|
set(CMAKE_ASM${ASM_DIALECT}_CREATE_SHARED_LIBRARY)
|
|
|
|
set(CMAKE_ASM${ASM_DIALECT}_CREATE_SHARED_MODULE)
|
2007-06-28 17:14:27 +04:00
|
|
|
|