summaryrefslogtreecommitdiffstats
path: root/Modules/Platform/Linker/WindowsStore-ASM.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Modules/Platform/Linker/WindowsStore-ASM.cmake')
-rw-r--r--Modules/Platform/Linker/WindowsStore-ASM.cmake15
1 files changed, 15 insertions, 0 deletions
diff --git a/Modules/Platform/Linker/WindowsStore-ASM.cmake b/Modules/Platform/Linker/WindowsStore-ASM.cmake
new file mode 100644
index 0000000..1d753f3
--- /dev/null
+++ b/Modules/Platform/Linker/WindowsStore-ASM.cmake
@@ -0,0 +1,15 @@
+# Distributed under the OSI-approved BSD 3-Clause License. See accompanying
+# file Copyright.txt or https://cmake.org/licensing for details.
+
+block(SCOPE_FOR POLICIES)
+cmake_policy(SET CMP0054 NEW)
+
+if(CMAKE_ASM_SIMULATE_ID STREQUAL "MSVC")
+ # MSVC is the default linker
+ include(Platform/Linker/WindowsStore-MSVC-ASM)
+else()
+ # GNU is the default linker
+ include(Platform/Linker/WindowsStore-GNU-ASM)
+endif()
+
+endblock()