2012-08-13 21:47:32 +04:00
|
|
|
set(CMAKE_ASM_VERBOSE_FLAG "-V")
|
2011-02-12 12:24:24 +03:00
|
|
|
|
|
|
|
# -qthreaded = Ensures that all optimizations will be thread-safe
|
|
|
|
# -qhalt=e = Halt on error messages (rather than just severe errors)
|
2016-07-05 20:35:13 +03:00
|
|
|
string(APPEND CMAKE_ASM_FLAGS_INIT " -qthreaded -qhalt=e -qsourcetype=assembler")
|
2011-02-12 12:24:24 +03:00
|
|
|
|
2016-07-05 20:35:13 +03:00
|
|
|
string(APPEND CMAKE_ASM_FLAGS_DEBUG_INIT " -g")
|
|
|
|
string(APPEND CMAKE_ASM_FLAGS_RELEASE_INIT " -O -DNDEBUG")
|
|
|
|
string(APPEND CMAKE_ASM_FLAGS_MINSIZEREL_INIT " -O -DNDEBUG")
|
|
|
|
string(APPEND CMAKE_ASM_FLAGS_RELWITHDEBINFO_INIT " -g -DNDEBUG")
|
2011-02-12 12:24:24 +03:00
|
|
|
|
2012-08-13 21:47:32 +04:00
|
|
|
set(CMAKE_ASM_SOURCE_FILE_EXTENSIONS s )
|