cmake/Modules/Compiler/XL-ASM.cmake

13 lines
539 B
CMake
Raw Normal View History

2013-03-16 19:13:01 +02:00
set(CMAKE_ASM_VERBOSE_FLAG "-V")
2011-06-19 15:41:06 +03:00
# -qthreaded = Ensures that all optimizations will be thread-safe
# -qhalt=e = Halt on error messages (rather than just severe errors)
2016-10-30 18:24:19 +01:00
string(APPEND CMAKE_ASM_FLAGS_INIT " -qthreaded -qhalt=e -qsourcetype=assembler")
2011-06-19 15:41:06 +03:00
2016-10-30 18:24:19 +01: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-06-19 15:41:06 +03:00
2013-03-16 19:13:01 +02:00
set(CMAKE_ASM_SOURCE_FILE_EXTENSIONS s )