summaryrefslogtreecommitdiff
path: root/cmake/win64.cmake
diff options
context:
space:
mode:
authorFrédéric Desbiens <[email protected]>2026-06-08 10:01:32 +0200
committerGitHub <[email protected]>2026-06-08 10:01:32 +0200
commit87ab09cce305eb9cd4aacac4e8c62af72f665bff (patch)
treedd062ebbea5235d1921c64b396bf7e4ce79e9e15 /cmake/win64.cmake
parent9ab0cf9683f832cdb48e2099533a5b06a3afcd64 (diff)
parent730b61874bc5cf40768987605ae5187fde0fa1e2 (diff)
Merge pull request #544 from eclipse-threadx/devv6.5.1.202602_rel
Merging changes for the v.6.5.1.202602 release
Diffstat (limited to 'cmake/win64.cmake')
-rw-r--r--cmake/win64.cmake9
1 files changed, 9 insertions, 0 deletions
diff --git a/cmake/win64.cmake b/cmake/win64.cmake
new file mode 100644
index 00000000..5ba9988c
--- /dev/null
+++ b/cmake/win64.cmake
@@ -0,0 +1,9 @@
+set(CMAKE_SYSTEM_NAME Windows)
+set(CMAKE_SYSTEM_PROCESSOR AMD64)
+
+set(THREADX_ARCH "win64")
+set(THREADX_TOOLCHAIN "vs_2022")
+
+# This makes the test compiles use the static library option so that the
+# compiler environment can be discovered from the active MSVC shell.
+set(CMAKE_TRY_COMPILE_TARGET_TYPE STATIC_LIBRARY)