summaryrefslogtreecommitdiff
path: root/share/cmake-3.22/Modules/Compiler/Intel-ASM.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'share/cmake-3.22/Modules/Compiler/Intel-ASM.cmake')
-rw-r--r--share/cmake-3.22/Modules/Compiler/Intel-ASM.cmake12
1 files changed, 12 insertions, 0 deletions
diff --git a/share/cmake-3.22/Modules/Compiler/Intel-ASM.cmake b/share/cmake-3.22/Modules/Compiler/Intel-ASM.cmake
new file mode 100644
index 0000000..c2bf465
--- /dev/null
+++ b/share/cmake-3.22/Modules/Compiler/Intel-ASM.cmake
@@ -0,0 +1,12 @@
+include(Compiler/Intel)
+__compiler_intel(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()