summaryrefslogtreecommitdiffstats
path: root/Modules/Compiler/IntelLLVM-ASM.cmake
blob: c258a0a24c343182580810a7000a1057ead91e1f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
include(Compiler/IntelLLVM)
__compiler_intel_llvm(ASM)

string(APPEND CMAKE_ASM_FLAGS_MINSIZEREL_INIT " -DNDEBUG")
string(APPEND CMAKE_ASM_FLAGS_RELEASE_INIT " -DNDEBUG")
string(APPEND CMAKE_ASM_FLAGS_RELWITHDEBINFO_INIT " -DNDEBUG")

if(UNIX)
  set(CMAKE_ASM_SOURCE_FILE_EXTENSIONS s;S)
else()
  set(CMAKE_ASM_SOURCE_FILE_EXTENSIONS asm)
endif()