summaryrefslogtreecommitdiffstats
path: root/Modules/CMakeTestASM-ATTCompiler.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Modules/CMakeTestASM-ATTCompiler.cmake')
-rw-r--r--Modules/CMakeTestASM-ATTCompiler.cmake9
1 files changed, 9 insertions, 0 deletions
diff --git a/Modules/CMakeTestASM-ATTCompiler.cmake b/Modules/CMakeTestASM-ATTCompiler.cmake
new file mode 100644
index 0000000..3844f5b
--- /dev/null
+++ b/Modules/CMakeTestASM-ATTCompiler.cmake
@@ -0,0 +1,9 @@
+
+# This file is used by EnableLanguage in cmGlobalGenerator to
+# determine that that selected ASM-ATT compiler can actually compile
+# and link the most basic of programs. If not, a fatal error
+# is set and cmake stops processing commands and will not generate
+# any makefiles or projects.
+SET(ASM_DIALECT "-ATT")
+INCLUDE(CMakeTestASMCompiler)
+SET(ASM_DIALECT)