Commit Graph

281 Commits

Author SHA1 Message Date
Billy Robert O'Neal III 9c49a77ea9
Normalize otherwise untouched files to have LFs. 2026-07-23 16:18:51 -07:00
Anders Syvertsen 4738453727
msbuild: Fixed VCPKG_KEEP_ENV_VARS (#52890) 2026-07-14 22:51:51 +00:00
autoantwort cf4d7aef16
msbuild: Add VcpkgManifestInstalledBaseDir to set installed dir in multi arch solution (#52643)
Co-authored-by: Leander Schulten <Leander.Schulten@tetys.de>
Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
2026-07-03 00:18:00 +00:00
Victor Romero b8ab03c3c5
Use `z-applocal` instead of `applocal.ps1` by default. (#52315) 2026-06-16 01:45:05 +00:00
Billy O'Neal 4c39954218
Fix MSBuild duplicate import warning. (#52364) 2026-06-12 14:53:03 -07:00
Cleroth cc68f7fe81
Fix IncrementalClean deleting applocal-deployed DLLs on full builds (#52360) 2026-06-12 13:56:06 -07:00
Jörg Bornemann f7f94113c3
Add HarmonyOS support files (#51470) 2026-05-20 23:17:58 +00:00
Mark Schofield 4b41e9ae36
Ensure that MSBuild integration bootstraps Vcpkg (#41605) 2026-05-10 23:19:50 -07:00
autoantwort d7ccba87c3
msbuild: run manifest install only once (#51348)
Co-authored-by: Leander Schulten <Leander.Schulten@tetys.de>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-05-06 17:58:01 -07:00
Ben Foxworthy c3867e714d
Fix IncrementalClean deleting vcpkg-deployed DLLs on incremental builds (#50521)
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-18 16:52:09 -07:00
Igor Kostenko 8d1151a58b
support VS 2026 generators (#48269) 2025-11-14 19:59:20 -08:00
Waldemar Kornewald 53c13a7853
Add support for tvOS and watchOS platforms (#47024) 2025-10-13 12:00:59 -07:00
CQ_Undefine 4ec418d6f5
Add support for NetBSD (#47586) 2025-10-08 13:24:48 -04:00
Albert Lee 4334d8b4c8
[vcpkg] Add platform support for Solaris and illumos (#45524) 2025-09-18 00:20:36 +00:00
Colin Cornaby fb7ba3b89b
[vcpkg scripts] Adding support for visionOS (#45464) 2025-06-25 11:52:26 -07:00
Jörg Bornemann 2e58bb35ff
Fix error in x_vcpkg_install_local_dependencies (#46061) (#46062) 2025-06-23 15:33:00 -07:00
Kai Pastor 6fa128f2b6
[msys2 scripts] Update, adapt to cygwin MACHTYPE (#45839) 2025-06-11 12:25:17 -07:00
Kai Pastor a5a48166e5
[vcpkg] Controlling top-level find_package (#27950) 2025-03-10 12:16:41 -07:00
Billy O'Neal b69712e331
Deploy applocal.ps1 with correct signature. (#44020) 2025-02-25 18:34:57 +00:00
Mengna-Li 57629cd105
Fix missing FILE_SET in X_VCPKG_APPLOCAL_DEPS_INSTALL (#43255)
Co-authored-by: Mengna-Li <v-limengna@microsoft.com>
2025-01-23 15:09:08 -08:00
權少 db4924694e
Update cmake_policy in vcpkg (#41574)
Co-authored-by: Kai Pastor <dg0yt@darc.de>
2024-11-19 07:42:09 +00:00
Chuck Walbourn 3203d48203
Fix for VcpkgPlatformTarget default fails for ARM, ARM64, ARM64EC (#42182) 2024-11-15 15:00:05 -08:00
Sergii Rudchenko d418101aeb
Fix OpenBSD support (#40141) 2024-07-29 23:05:23 -07:00
Alexander Neumann 9c0956e573
[world rebuild|toolchain] Fix try compile handling (#24493)
while playing with qtbase on x64-uwp i found that it could not pass a
try_compile command since important variables are not correctly
forwarded. As such I concluded that the handling of try_compile in vcpkg
is completely wrong.
2024-06-19 14:38:36 -07:00
Billy O'Neal 0fd3438b2c
Revert "Update vcpkg-tool to 2024-03-28." (#37843)
Reverts microsoft/vcpkg#37820
2024-03-29 15:04:50 -07:00
Billy O'Neal 13f9954503
Update vcpkg-tool to 2024-03-28. (#37820)
https://github.com/microsoft/vcpkg-tool/releases/tag/2024-03-29

Also updates applocal.ps1 to make the signature verify :/
2024-03-29 14:12:30 -07:00
Abe Fettig 7502ccb84c
Avoid error when powershell isn't found in path (#37188)
Previously the REQUIRED flag made CMake fail with an error if
`powershell` wasn't found on line 193. This prevented the `else` block
on lines 197-198 from ever running.
2024-03-07 22:40:36 -08:00
Daniel Schürmann c7f0cc5038
Fix typo in vcpkg.cmake (#36158) 2024-01-16 11:04:54 -08:00
kiwixz d64c5e8b3d
Add mapping for the None config (#35940) 2024-01-08 14:10:55 -08:00
Billy O'Neal 11610eabb9
Add msbuild feature to use z-applocal, and avoid trying to applocal deploy for non executable project types. (#35012)
* Hook up z-applocal, work started by @vicroms.

* Fix spelling of utf8

* Use standard warning formats.

* Don't get in the way of stdout.

* Don't try to Applocal deploy if the linker does not run.

* Make VcpkgUseBuiltInApplocalDeps docs a bit nicer.

* Change to (experimental) prefix.

* Add an X.
2023-11-10 12:00:25 -08:00
Theodore Tsirpanis cc97b4536a
Improve detection of the target architecture on Apple platforms. (#34054) 2023-10-06 16:47:54 -07:00
Haowu Ge fd6f4857d6
Add initial LoongArch support (#32932) 2023-08-23 11:53:24 -07:00
Sander Cox f41244d1b4
fix: take component from runtime only #32560 (#32683)
Only take the COMPONENT part for the runtime settings like we
already do for the DESTINATION component. The install local dependencies
should only need to be run for RUNTIME components anyway.
2023-07-21 08:56:51 -07:00
funsafe-ptr c3dea019d2
[Android Termux] Fix missing `Z_VCPKG_TARGET_TRIPLET_PLAT` (#32157) 2023-06-26 22:14:44 -07:00
Jörg Bornemann 512d62f7ee
[vcpkg.cmake] Fix CMP0126 warnings (#23784) (#29969)
When running CMake 3.21 or newer in trace or debug mode, vcpkg.cmake
would trigger the CMP0126 warning for VCPKG_MANIFEST_DIR and
VCPKG_INSTALLED_DIR.

The regular variable was used to set the initial value of the cache
variable of the same name. This patch adds the regular variables
Z_VCPKG_MANIFEST_DIR_INITIAL_VALUE and
Z_VCPKG_INSTALLED_DIR_INITIAL_VALUE that are used to initialize their
respective cache variables.
2023-05-09 17:08:28 -07:00
Chuck Walbourn 47cdf39707
lld-link workaround should be used with ClangCl MSBuild platform toolset (#31239) 2023-05-04 10:24:13 -07:00
Billy O'Neal c609fc5265
Remove phantom quotes from the invocation of vcpkg install in manifest mode. (#30473) 2023-03-28 10:29:38 -07:00
Billy O'Neal 1174c9ea1d
[vcpkg-msbuild] Add a switch to disable classic mode for one-liner and in-VS installs. (#30373) 2023-03-24 22:35:58 -07:00
Chuck Walbourn c1d764a742
[community triplet] adds triplets for building for the Xbox platform (#29210)
* Try adding xbox triplets

* Update for Gaming Command Prompt usage

* Fix directxtk12 shaders for xbox

* Add toolchain for xbox

* Fix ports for feature builds

* Code review feedback

* More code review

* Code review

* WIN32_LEAN_AND_MEAN is too aggressive for many libs

* Normalize GDK variable paths

* Need to leave oldnames.lib as many libs use POSIX names

* More code review feedback

* Remove extra file

* Use of /DEFAULTLIB fixed 41 ports

* Code review feedback

* Added basic xbox supports expression

* Updates for xbox-aware ports

* Update for CMake fixes upstream

* Minor synatx fix

* Fix up merge issues

* Need directx-headers for linux

* Missed one port revision

* Removed VCPKG_TARGET_IS_XBOX from project scope after upstream fixes

* Update baseline

* License updates per github-actions bot

* Update baseline

* Update toolchain to support try_compile for GDK headers

* Update port numbers

* Update baseline

* Don't need directx-dxc for Xbox builds

* Update baseline

* Update hashes

* Code review

* Update baseline

* Refresh hashes for upstream fixes

* Update baseline

* Add ms-gdkx stub port

* Update baseline

* updated ms-gdkx with user-friendly output

* Update baseline

* Code review for the toolchain file

* Update directxkt12 hash

* Refresh baseline

* Update MSBuild integration to select proper triplet for GDK custom platforms

* Update CMake integration to select proper xbox triplet from XBOX_CONSOLE_TARGET

* vcpkg.targets update

* Code review feedback

* Update baseline

* Refresh baseline

* Code review for MSBuild

* Code review for xbox toolchain

* vcpkg.cmake codereview

---------

Co-authored-by: walbourn <chuckw_walbourn@yahoo.com>
2023-03-08 14:06:20 -08:00
Jörg Bornemann ed73411424
[applocal.ps1] Fix -targetBinary without drive letter (#29890) (#29894)
On Windows, running applocal.ps1 with "-targetBinary
/foo/bar.exe" (without drive letter) did not install dependencies. The
dumpbin executable was called with /foo/bar.exe, and dumpbin interpreted
this as unknown command line argument. No dependencies were resolved.

We're already resolving the full path of the target binary some lines
above the dumpbin call. The $targetBinaryPath variable contains the
target binary's path including the drive letter, and dumpbin
successfully reports the executable's dependencies.
2023-03-01 16:07:04 -08:00
Yingwei Zheng 5c98346399
Add initial risc-v support (#29593) 2023-02-22 12:44:40 -08:00
Jörg Bornemann 703a8113f4
[vcpkg.cmake] Make use of CMake 3.7 language features (#29721)
vcpkg.cmake requires at least CMake 3.7.2. We can remove the
work-arounds for older CMake versions that lack GREATER_EQUAL and
VERSION_GREATER_EQUAL.
2023-02-21 10:58:03 -08:00
Kai Pastor 5402d24c77
Trace wrappers (#28161) 2022-12-08 15:55:26 -08:00
Frank 30a20e8f15
[vcpkg] Fix integration in Visual Studio (#28216) 2022-12-07 17:11:31 -08:00
Kai Pastor 73b415a0db
[vcpkg tool] Add optional tracing of `find_package` (#27982)
* Add tracing of find_package

* Doc

* Unset new vars
2022-12-01 13:39:31 -08:00
sbrajchuk 11e021f9f8
[vcpkg] Add support of -static-md to Visual Studio UI (#28045)
* Add support of -static-md to UI

* Remove redundant comparison

* Fix typo

* Check if 'Use Static Libraries' is selected
2022-11-29 11:38:53 -08:00
Alexander Neumann c2c25d916f
[baseline] unset the backup var and not the var which was backed up. (#27984)
* unset the backup var and not the var which was backed up.

* if no backup unset the vcpkg set var
2022-11-23 16:04:20 -08:00
Alexander Neumann 347992dda1
[vcpkg.cmake] guard numbers against variable expansions by making them strings (#27939)
* guard numbers against variable expansions by making them strings

* missed two
2022-11-22 08:51:34 -08:00
Glen Chung 2d6279beda
Improve Target Architecture Detection on ARM64 Windows (#27479)
- Fixes #27477

Co-authored-by: Cheney Wang (Beyondsoft Corporation) <v-xincwa@microsoft.com>
2022-11-17 22:48:47 -08:00
Alexander Neumann 90b616f184
[vcpkg.cmake] fix find_package not restoring variables correctly. (#27689)
* [vcpkg.cmake] fix find_package not restoring variables correctly.

* bit of formatting

* wording

* remove unused variable

* add extra spaces

* remove OUTPUT_FORMAT DECIMAL for older cmake version

Co-authored-by: Billy O'Neal <bion@microsoft.com>
2022-11-16 09:56:08 -08:00