summaryrefslogtreecommitdiffstats
path: root/Modules/CMakeTestASM_MASMCompiler.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Modules/CMakeTestASM_MASMCompiler.cmake')
-rw-r--r--Modules/CMakeTestASM_MASMCompiler.cmake10
1 files changed, 10 insertions, 0 deletions
diff --git a/Modules/CMakeTestASM_MASMCompiler.cmake b/Modules/CMakeTestASM_MASMCompiler.cmake
new file mode 100644
index 0000000..9bdf13a
--- /dev/null
+++ b/Modules/CMakeTestASM_MASMCompiler.cmake
@@ -0,0 +1,10 @@
+
+# This file is used by EnableLanguage in cmGlobalGenerator to
+# determine that the selected ASM_MASM "compiler" (should be masm or masm64)
+# 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 "_MASM")
+INCLUDE(CMakeTestASMCompiler)
+SET(ASM_DIALECT)