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
|
|
|
|
# -qalias=noansi = Turns off type-based aliasing completely (safer optimizer)
|
|
|
|
# -qhalt=e = Halt on error messages (rather than just severe errors)
|
2012-08-13 21:47:32 +04:00
|
|
|
set(CMAKE_ASM_FLAGS_INIT "-qthreaded -qalias=noansi -qhalt=e -qsourcetype=assembler")
|
2011-02-12 12:24:24 +03:00
|
|
|
|
2012-08-13 21:47:32 +04:00
|
|
|
set(CMAKE_ASM_FLAGS_DEBUG_INIT "-g")
|
|
|
|
set(CMAKE_ASM_FLAGS_RELEASE_INIT "-O -DNDEBUG")
|
|
|
|
set(CMAKE_ASM_FLAGS_MINSIZEREL_INIT "-O -DNDEBUG")
|
2012-08-16 06:00:45 +04:00
|
|
|
set(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 )
|