diff options
author | Ilia K <ki.stfu@gmail.com> | 2022-10-14 13:24:47 +0200 |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2022-11-09 10:22:46 -0500 |
commit | 3166547cf6d62217d3142a18e3aae3fc84e49b24 (patch) | |
tree | 245e1a41fcb57ed5f4bd6794609b865ef7caa4dd /Modules/CMakeTestASM_MARMASMCompiler.cmake | |
parent | ce4babb5669b9fcd8ff3d34c109eeca598144ce4 (diff) | |
download | cmake-3166547cf6d62217d3142a18e3aae3fc84e49b24.tar.gz |
ASM_MARMASM: Add support for Microsoft ARM assembler language
https://learn.microsoft.com/en-us/cpp/assembler/arm/arm-assembler-reference
Fixes: #23999
Diffstat (limited to 'Modules/CMakeTestASM_MARMASMCompiler.cmake')
-rw-r--r-- | Modules/CMakeTestASM_MARMASMCompiler.cmake | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/Modules/CMakeTestASM_MARMASMCompiler.cmake b/Modules/CMakeTestASM_MARMASMCompiler.cmake new file mode 100644 index 0000000000..a6de04c264 --- /dev/null +++ b/Modules/CMakeTestASM_MARMASMCompiler.cmake @@ -0,0 +1,13 @@ +# Distributed under the OSI-approved BSD 3-Clause License. See accompanying +# file Copyright.txt or https://cmake.org/licensing for details. + + +# This file is used by EnableLanguage in cmGlobalGenerator to +# determine that the selected ASM_MARMASM "compiler" (should be marmasm or marmasm64) +# works. For assembler this can only check whether the compiler has been found, +# because otherwise there would have to be a separate assembler source file +# for each assembler on every architecture. + +set(ASM_DIALECT "_MARMASM") +include(CMakeTestASMCompiler) +set(ASM_DIALECT) |