This command takes a list of ports, and causes the final state of the
installed directory to be as-if one ran the install on an empty
installed directory (removing any unnecessary packages).
This is especially useful with the new `--x-install-root` option, which
allows one to set the `installed` directory for vcpkg to use.
Additionally, as a drive-by, we do some `stdfs` clean-up and add a
`.is_feature()` member function to BinaryParagraph (as opposed to
checking for `.feature().empty()`, which is far less clear to read).
This feature is experimental.
* [xerces-c] Update to version 3.2.3
Drop patch no-symlinks-in-static-build.patch (fixed upstream)
* [xerces-c] Correct version number
* [xerces-c] Remove no-symlinks-in-static-build.patch
* [c4core] Add new port
* Remove deprecated include
* Fix ver regarding maintainer guide
* Mark port as unsupport arm/arm64
* Update CI baseline
* Mark port as unsupport OSX
* Update CI baseline
* Fix path to header instead of moving
Signed-off-by: vvandrounik <vvandrounik@gmail.com>
* Replace deprecated func vcpkg_extract_source_archive, add PREFER_NINJA to conf
* [SDL2] Update to 2.0.12 version
* [sdl2] Change homepage link to the official sdl website
* [sdl2] Remove no longer used patch
* [sdl2] Remove no longer used patch
* [sdl2] Fix patches files
* [avisynthplus] Add new port
* [avisynthplus] Disable static build
Static build is not supported. See https://github.com/AviSynth/AviSynthPlus/issues/130
* [avisynthplus] Ass Supports to CONTROL
* [avisynthplus] set static to fail in CI baseline
* [avisynthplus] add vcpkg_fail_port_install
* [realsense2] Add tm2 feature for support T265 devices
* Fix tools build error on Visual Studio 2019
* Update the way to handle features as vcpkg_check_features()
* Update
* Fix building avro-c in Linux
* Increment version
* Declare Linux is supported
* Updated CI baseline
Co-authored-by: Michael Spector <spektom@gmail.com>
* Add iOS community triplets and toolchain support
Added an iOS toolchain to enable building packages for iOS.
The toolchain is used when a triplet's VCPKG_CMAKE_SYSTEM_NAME is set
to iOS.
To configure which architecture should be built, as well as other
iOS specifics, the following triplet variables can be set:
- VCPKG_TARGET_ARCHITECTURE
- VCPKG_OSX_SYSROOT
- VCPKG_OSX_DEPLOYMENT_TARGET
- VCPKG_OSX_ARCHITECTURES
The following VCPKG_TARGET_ARCHITECTURE values are currently
supported:
- arm, arm64, x64, x86.
The following VCPKG_OSX_SYSROOT values are currently supported:
- iphoneos, iphonesimulator, or an absolute path to the device or
simulator Xcode SDK.
VCPKG_OSX_DEPLOYMENT_TARGET can be set to control the minimum iOS
delopyment target for the built libraries.
CMAKE_OSX_ARCHITECTURES is derived from VCPKG_TARGET_ARCHITECTURE,
so generally it should not be set. In case if someone needs to target
a more specific architecture (like armv7k or arm64e), it can
be set in the triplet via VCPKG_OSX_ARCHITECTURES.
Note that only certain combinations of the architecture and sysroot
will work: simulator SDKs only provide x86-based libraries, etc.
The toolchain also sets CMAKE_SYSTEM_PROCESSOR for certain
configurations, because certain packages (like libpng) depend on the
processor type.
Added 4 community iOS triplets that build static libraries:
- arm-ios, arm64-ios, x86-ios, x64-ios.
The non-arm triplets target the iOS simulator.
The triplets build static libraries because they are easiest to
integrate into an iOS project. Dynamic libraries or frameworks require
code signing on iOS, which complicates integration.
Added heuristics to try and automatically detect what iOS triplet to
use when building your own CMake project (so when a CMake project sets
CMAKE_TOOLCHAIN_FILE to buildsystems/vcpkg.cmake), if no explicit
triplet is provided (VCPKG_TARGET_TRIPLET is undefined).
The heuristic checks for the values of CMAKE_SYSTEM_NAME and
CMAKE_OSX_ARCHITECTURES. Note that for this to work,
CMAKE_OSX_ARCHITECTURES needs to be set before the first project()
call in your CMake project.
Added workaround so find_package finds vcpkg installed packages
when targeting iOS.
This is done by saving / restoring the value of CMAKE_FIND_ROOT_PATH
while also adding the vcpkg package root in the find_package override
macro.
The workaround can be removed once vcpkg upgrades to CMake 3.15.0
or higher where the issue is fixed.
Fixes: #6003
* Fix building libpng and pcre2 targetting iOS
Fixes: #6003