summaryrefslogtreecommitdiff
path: root/Modules/Compiler/GNU-ASM.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Modules/Compiler/GNU-ASM.cmake')
-rw-r--r--Modules/Compiler/GNU-ASM.cmake6
1 files changed, 6 insertions, 0 deletions
diff --git a/Modules/Compiler/GNU-ASM.cmake b/Modules/Compiler/GNU-ASM.cmake
new file mode 100644
index 000000000..e07401d54
--- /dev/null
+++ b/Modules/Compiler/GNU-ASM.cmake
@@ -0,0 +1,6 @@
+# This file is loaded when gcc/g++ is used for assembler files (the "ASM" cmake language)
+include(Compiler/GNU)
+
+set(CMAKE_ASM_SOURCE_FILE_EXTENSIONS s;S;asm)
+
+__compiler_gnu(ASM)