-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
31 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# This triplet is tested in vcpkg ci via https://github.com/microsoft/vcpkg/pull/25897 | ||
set(VCPKG_TARGET_ARCHITECTURE arm64) | ||
set(VCPKG_CRT_LINKAGE static) | ||
set(VCPKG_LIBRARY_LINKAGE static) | ||
set(VCPKG_BUILD_TYPE release) | ||
|
||
## Toolchain setup | ||
set(VCPKG_CHAINLOAD_TOOLCHAIN_FILE "${CMAKE_CURRENT_LIST_DIR}/x64-win-llvm/x64-win-llvm.toolchain.cmake") | ||
set(VCPKG_LOAD_VCVARS_ENV ON) # Setting VCPKG_CHAINLOAD_TOOLCHAIN_FILE deactivates automatic vcvars setup so reenable it! | ||
|
||
if(DEFINED VCPKG_PLATFORM_TOOLSET) | ||
set(VCPKG_PLATFORM_TOOLSET ClangCL) | ||
endif() | ||
set(VCPKG_ENV_PASSTHROUGH_UNTRACKED "LLVMInstallDir;LLVMToolsVersion") # For the ClangCL toolset | ||
# set(VCPKG_QT_TARGET_MKSPEC win32-clang-msvc) # For Qt5 | ||
|
||
## Policy settings | ||
set(VCPKG_POLICY_SKIP_ARCHITECTURE_CHECK enabled) | ||
set(VCPKG_POLICY_SKIP_DUMPBIN_CHECKS enabled) | ||
|
||
set(VCPKG_CMAKE_CONFIGURE_OPTIONS | ||
"-DCMAKE_TRY_COMPILE_CONFIGURATION=Release" | ||
) | ||
|
||
include("${CMAKE_CURRENT_LIST_DIR}/x64-win-llvm/extra_setup.cmake") | ||
include("${CMAKE_CURRENT_LIST_DIR}/x64-win-llvm/port_specialization.cmake") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters