12 lines
465 B
CMake
12 lines
465 B
CMake
|
IF(NOT CMAKE_ASM_COMPILE_OBJECT)
|
||
|
IF(UNIX AND NOT CYGWIN)
|
||
|
SET(CMAKE_ASM_COMPILE_OBJECT "<CMAKE_ASM_COMPILER> -f elf <FLAGS> -o <OBJECT> <SOURCE>")
|
||
|
ENDIF(UNIX AND NOT CYGWIN)
|
||
|
IF(CYGWIN)
|
||
|
SET(CMAKE_ASM_COMPILE_OBJECT "<CMAKE_ASM_COMPILER> -f gnuwin32 <FLAGS> -o <OBJECT> <SOURCE>")
|
||
|
ENDIF(CYGWIN)
|
||
|
IF(WIN32)
|
||
|
SET(CMAKE_ASM_COMPILE_OBJECT "<CMAKE_ASM_COMPILER> -f win32 -DWIN32 <FLAGS> -o <OBJECT> -c <SOURCE>")
|
||
|
ENDIF(WIN32)
|
||
|
ENDIF(NOT CMAKE_ASM_COMPILE_OBJECT)
|