summaryrefslogtreecommitdiffstats
path: root/Modules/Compiler/Intel-ASM.cmake
blob: 74ceb0a6a6517c53a3493a2c0f83354e4a0f15fb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
set(CMAKE_ASM_VERBOSE_FLAG "-v")

set(CMAKE_ASM_FLAGS_INIT "")
set(CMAKE_ASM_FLAGS_DEBUG_INIT "-g")
set(CMAKE_ASM_FLAGS_MINSIZEREL_INIT "-Os -DNDEBUG")
set(CMAKE_ASM_FLAGS_RELEASE_INIT "-O3 -DNDEBUG")
set(CMAKE_ASM_FLAGS_RELWITHDEBINFO_INIT "-O2 -g -DNDEBUG")

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