Revision 9150c818b7d2afb868575fcb2e0c9ba62b9d7f85 authored by Brad King on 10 October 2019, 13:31:05 UTC, committed by Brad King on 10 October 2019, 13:31:05 UTC
1 parent 580e322
Raw File
XL-ASM.cmake
set(CMAKE_ASM_VERBOSE_FLAG "-V")

# -qthreaded     = Ensures that all optimizations will be thread-safe
# -qhalt=e       = Halt on error messages (rather than just severe errors)
string(APPEND CMAKE_ASM_FLAGS_INIT " -qthreaded -qhalt=e -qsourcetype=assembler")

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")

set(CMAKE_ASM_SOURCE_FILE_EXTENSIONS s )
back to top