XL-ASM.cmake 539 B

123456789101112
  1. set(CMAKE_ASM_VERBOSE_FLAG "-V")
  2. # -qthreaded = Ensures that all optimizations will be thread-safe
  3. # -qhalt=e = Halt on error messages (rather than just severe errors)
  4. string(APPEND CMAKE_ASM_FLAGS_INIT " -qthreaded -qhalt=e -qsourcetype=assembler")
  5. string(APPEND CMAKE_ASM_FLAGS_DEBUG_INIT " -g")
  6. string(APPEND CMAKE_ASM_FLAGS_RELEASE_INIT " -O -DNDEBUG")
  7. string(APPEND CMAKE_ASM_FLAGS_MINSIZEREL_INIT " -O -DNDEBUG")
  8. string(APPEND CMAKE_ASM_FLAGS_RELWITHDEBINFO_INIT " -g -DNDEBUG")
  9. set(CMAKE_ASM_SOURCE_FILE_EXTENSIONS s )