From 2a1313cc3833cf4125f84011678b66c6377321f9 Mon Sep 17 00:00:00 2001 From: Janek Bevendorff Date: Sat, 9 Dec 2023 15:50:03 +0100 Subject: [PATCH] Add vcpkg overlay triplets --- vcpkg-configuration.json | 6 ++++++ vcpkg/triplets/arm64-osx-dynamic-release.cmake | 9 +++++++++ vcpkg/triplets/x64-osx-dynamic-release.cmake | 9 +++++++++ vcpkg/triplets/x64-windows-release.cmake | 5 +++++ 4 files changed, 29 insertions(+) create mode 100644 vcpkg-configuration.json create mode 100644 vcpkg/triplets/arm64-osx-dynamic-release.cmake create mode 100644 vcpkg/triplets/x64-osx-dynamic-release.cmake create mode 100644 vcpkg/triplets/x64-windows-release.cmake diff --git a/vcpkg-configuration.json b/vcpkg-configuration.json new file mode 100644 index 0000000000..1d21b26947 --- /dev/null +++ b/vcpkg-configuration.json @@ -0,0 +1,6 @@ +{ + "overlay-ports": [], + "overlay-triplets": [ + "vcpkg/triplets" + ] +} diff --git a/vcpkg/triplets/arm64-osx-dynamic-release.cmake b/vcpkg/triplets/arm64-osx-dynamic-release.cmake new file mode 100644 index 0000000000..44637b2d9e --- /dev/null +++ b/vcpkg/triplets/arm64-osx-dynamic-release.cmake @@ -0,0 +1,9 @@ +set(VCPKG_TARGET_ARCHITECTURE arm64) +set(VCPKG_CRT_LINKAGE dynamic) +set(VCPKG_LIBRARY_LINKAGE dynamic) + +set(VCPKG_CMAKE_SYSTEM_NAME Darwin) +set(VCPKG_OSX_ARCHITECTURES arm64) + +set(VCPKG_BUILD_TYPE release) +set(VCPKG_OSX_DEPLOYMENT_TARGET 11.0) diff --git a/vcpkg/triplets/x64-osx-dynamic-release.cmake b/vcpkg/triplets/x64-osx-dynamic-release.cmake new file mode 100644 index 0000000000..e3259a6907 --- /dev/null +++ b/vcpkg/triplets/x64-osx-dynamic-release.cmake @@ -0,0 +1,9 @@ +set(VCPKG_TARGET_ARCHITECTURE x64) +set(VCPKG_CRT_LINKAGE dynamic) +set(VCPKG_LIBRARY_LINKAGE dynamic) + +set(VCPKG_CMAKE_SYSTEM_NAME Darwin) +set(VCPKG_OSX_ARCHITECTURES x86_64) + +set(VCPKG_BUILD_TYPE release) +set(VCPKG_OSX_DEPLOYMENT_TARGET 10.15) diff --git a/vcpkg/triplets/x64-windows-release.cmake b/vcpkg/triplets/x64-windows-release.cmake new file mode 100644 index 0000000000..1ae9006118 --- /dev/null +++ b/vcpkg/triplets/x64-windows-release.cmake @@ -0,0 +1,5 @@ +set(VCPKG_TARGET_ARCHITECTURE x64) +set(VCPKG_CRT_LINKAGE dynamic) +set(VCPKG_LIBRARY_LINKAGE dynamic) + +set(VCPKG_BUILD_TYPE release)