summaryrefslogtreecommitdiff
path: root/share/cmake-3.6/Modules/CMakeASM_MASMInformation.cmake
diff options
context:
space:
mode:
authorChaoren Lin <aoe@google.com>2016-07-12 12:11:13 -0700
committerChaoren Lin <chaorenl@google.com>2016-07-22 23:32:34 +0000
commit049aa5917bb544ca916fbf21f62ffadc0dda173b (patch)
treeb3c27765b5e2a1a75dc76e331eb7f9ac65f650d5 /share/cmake-3.6/Modules/CMakeASM_MASMInformation.cmake
parentcf241221db308c693d73f3268c444c17758abf62 (diff)
downloadwindows-x86-049aa5917bb544ca916fbf21f62ffadc0dda173b.tar.gz
Update prebuilts to CMake 3.6.0-rc2 (go/ab/3043163).
Change-Id: I4e3eab4ecd40316a5a924e308ae2a6031dde47c8 (cherry picked from commit a8969f928e379df88fa3d5e3b250aa1423d4dd2c)
Diffstat (limited to 'share/cmake-3.6/Modules/CMakeASM_MASMInformation.cmake')
-rwxr-xr-xshare/cmake-3.6/Modules/CMakeASM_MASMInformation.cmake24
1 files changed, 24 insertions, 0 deletions
diff --git a/share/cmake-3.6/Modules/CMakeASM_MASMInformation.cmake b/share/cmake-3.6/Modules/CMakeASM_MASMInformation.cmake
new file mode 100755
index 0000000..bd76b98
--- /dev/null
+++ b/share/cmake-3.6/Modules/CMakeASM_MASMInformation.cmake
@@ -0,0 +1,24 @@
+
+#=============================================================================
+# Copyright 2008-2009 Kitware, Inc.
+#
+# Distributed under the OSI-approved BSD License (the "License");
+# see accompanying file Copyright.txt for details.
+#
+# This software is distributed WITHOUT ANY WARRANTY; without even the
+# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+# See the License for more information.
+#=============================================================================
+# (To distribute this file outside of CMake, substitute the full
+# License text for the above reference.)
+
+# support for the MS assembler, masm and masm64
+
+set(ASM_DIALECT "_MASM")
+
+set(CMAKE_ASM${ASM_DIALECT}_SOURCE_FILE_EXTENSIONS asm)
+
+set(CMAKE_ASM${ASM_DIALECT}_COMPILE_OBJECT "<CMAKE_ASM${ASM_DIALECT}_COMPILER> <DEFINES> <INCLUDES> <FLAGS> /c /Fo <OBJECT> <SOURCE>")
+
+include(CMakeASMInformation)
+set(ASM_DIALECT)