summaryrefslogtreecommitdiffstats
path: root/Modules/CMakeTestASM_MASMCompiler.cmake
diff options
context:
space:
mode:
authorAlexander Neundorf <neundorf@kde.org>2008-11-05 22:27:41 (GMT)
committerAlexander Neundorf <neundorf@kde.org>2008-11-05 22:27:41 (GMT)
commit19046aa98c863c8ed2e957f0ddd404b60577be85 (patch)
tree9a5c5b48a25a261fcfff24ef396e3046c445a531 /Modules/CMakeTestASM_MASMCompiler.cmake
parent49db4e53a1e351278bc8e93bf004510e71804486 (diff)
downloadCMake-19046aa98c863c8ed2e957f0ddd404b60577be85.zip
CMake-19046aa98c863c8ed2e957f0ddd404b60577be85.tar.gz
CMake-19046aa98c863c8ed2e957f0ddd404b60577be85.tar.bz2
ENH: add support for the MS masm and masm64 assemblers, works with nmake,
not (yet) with the Visual Studio generators Alex
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)