diff options
author | Ilia K <ki.stfu@gmail.com> | 2022-10-14 11:24:47 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2022-11-09 15:22:46 (GMT) |
commit | 3166547cf6d62217d3142a18e3aae3fc84e49b24 (patch) | |
tree | 245e1a41fcb57ed5f4bd6794609b865ef7caa4dd /Tests/CMakeLists.txt | |
parent | ce4babb5669b9fcd8ff3d34c109eeca598144ce4 (diff) | |
download | CMake-3166547cf6d62217d3142a18e3aae3fc84e49b24.zip CMake-3166547cf6d62217d3142a18e3aae3fc84e49b24.tar.gz CMake-3166547cf6d62217d3142a18e3aae3fc84e49b24.tar.bz2 |
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 'Tests/CMakeLists.txt')
-rw-r--r-- | Tests/CMakeLists.txt | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Tests/CMakeLists.txt b/Tests/CMakeLists.txt index 030f4f6..d4ef7ee 100644 --- a/Tests/CMakeLists.txt +++ b/Tests/CMakeLists.txt @@ -2161,6 +2161,12 @@ if(BUILD_TESTING) list(APPEND TEST_BUILD_DIRS "${CMake_BINARY_DIR}/Tests/MFC") endif() + if(MSVC AND NOT MSVC_VERSION LESS 1700 + AND (CMAKE_C_COMPILER_ARCHITECTURE_ID STREQUAL "ARM64") + ) + ADD_TEST_MACRO(VSMARMASM VSMARMASM) + endif() + if(MSVC AND NOT MSVC_VERSION LESS 1310 AND (NOT CMAKE_GENERATOR MATCHES "Visual Studio 9 " OR CMAKE_SIZEOF_VOID_P EQUAL 4) |