aboutsummaryrefslogtreecommitdiff
path: root/scripts/buildsystems
AgeCommit message (Collapse)Author
2020-10-13[vcpkg] VCPKG_APPINSTALL_DEPS install dependencies on install #1653 (#13011)Sander Cox
Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
2020-10-12[vcpkg/manifest/toolchain] Add install/bootstrap options & fix CACHE ↵Alexander Neumann
variables usage (#13713) * [vcpkg/toolchain] add bootstrap and install options * fix usage of cache variables
2020-10-02[vcpkg/manifest] write manifest install logs into the build dir. (#13711)Alexander Neumann
2020-09-18[vcpkg manifest-mode] Fix parallel msbuild failures (#13589)nicole mazzuca
This changes the vcpkg msbuild targets file to wait for the lock, rather than failing immediately
2020-09-11[vcpkg|toolchain] add VCPKG_OVERLAY_(PORTS|TRIPLETS) to the toolchain (#13240)Alexander Neumann
* add VCPKG_OVERLAY_(PORTS|TRIPLETS) to the toolchain * move everything into additional manifest params * fix me not thinking
2020-09-05Add community triple arm64-linux and arm-linux. (#11880)xyb
Verify the following command on both 32 bits and 64 bits OS on Raspberry pi 3. ./bootstrap-vcpkg.sh ./vcpkg install boost
2020-09-03[vcpkg.cmake] error out if the mode has changed (#13313)nicole mazzuca
2020-08-22[vcpkg] Hotfix regression in #12523 (#13092)ras0219
Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
2020-08-22[vcpkg.cmake] check for vcpkg.json only in `${CMAKE_SOURCE_DIR}` (#12523)nicole mazzuca
2020-08-05[msbuild] Revert the importance to Normal (#12727)Phoebe
2020-08-01[vcpkg manifest] add feature support (#12549)nicole mazzuca
2020-08-01[vcpkg] Fix [boost] find_package for MSVC2013 / v120 (#10670)Manuel Kugelmann
* Fix [boost] find_package for MSVC2013 / v120 added conditional set(Boost_COMPILER "-vc120") to vcpkg.cmake * fixed spacing * fixed spaces
2020-07-23[vcpkg] Add initial s390x support (#12534)Andrei Lebedev
Signed-off-by: Andrei Lebedev <lebdron@gmail.com>
2020-07-09[vcpkg manifests] fix some issues (#12227)nicole mazzuca
Fixes #12190 Fixes #12208 Fixes #12234 Fixes #12286 Fixes #12315 Fixes #12186 Fixes #12331 Fixes googleapis/google-cloud-cpp#4487
2020-07-08[vcpkg] Fix MSBuild regressions #12062 and #12086. (#12257)ras0219
This PR also renames the VcpkgUserTriplet MSBuild variable to VcpkgTriplet to minimize user confusion compared to previous practice and documentation. Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
2020-07-08[vcpkg.targets] Fix #12292 regression with MSBuild targets (#12319)Robert Schumacher
2020-07-07[vcpkg.cmake] Support toolchains that set CMAKE_FIND_ROOT_PATH_MODE_* ↵Silvio Traversaro
variables to ONLY (#11753)
2020-07-05[vcpkg integrate] Clean up vcpkg.target file (#4608)Dr. Frank Heimes
Use IncludePath and LibraryPath propertiesThese tool agnostic properties allow to configure ClCompile and ResourceCompile without repeating the code. This change includes my changes from #4454. Co-authored-by: Nicole Mazzuca <mazzucan@outlook.com>
2020-07-02[msbuild] Revert the importance to Normal (#12212)Phoebe
2020-07-01Don't change manifest root when manifest isn't enabled. (#12191)Stephane Lajoie
* Don't change manifest root when manifest isn't enabled. * Update scripts/buildsystems/msbuild/vcpkg.targets * Apply suggestions from code review Co-authored-by: nicole mazzuca <mazzucan@outlook.com>
2020-06-30[vcpkg manifest] Manifest Implementation (#11757)nicole mazzuca
==== Changes Related to manifests ==== * Add the `manifests` feature flag * This only says whether we look for a `vcpkg.json` in the cwd, not whether we support parsing manifests (for ports, for example) * Changes to the manifests RFC * `"authors"` -> `"maintainers"` * `--x-classic-mode` -> `-manifests` \in `vcpkg_feature_flags` * reserve `"core"` in addition to `"default"`, since that's already reserved for features * Add a small helper note about what identifiers must look like * `<license-string>`: SPDX v3.8 -> v3.9 * `"feature"."description"` is allowed to be an array of strings as well * `"version"` -> `"version-string"` for forward-compat with versions RFC * Add the `--feature-flags` option * Add the ability to turn off feature flags via passing `-<feature-flag>` to `VCPKG_FEATURE_FLAGS` or `--feature-flags` * Add CMake toolchain support for manifests * Requires either: * a feature flag of `manifests` in either `Env{VCPKG_FEATURE_FLAGS}` or `VCPKG_FEATURE_FLAGS` * Passing the `VCPKG_ENABLE_MANIFESTS` option * The toolchain will install your packages to `${VCPKG_MANIFEST_DIR}/vcpkg_installed`. * Add MSBuild `vcpkg integrate install` support for manifests * Requires `VcpkgEnableManifest` to be true * `vcpkg create` creates a port that has a `vcpkg.json` instead of a `CONTROL` * argparse, abseil, 3fd, and avisynthplus ports switched to manifest from CONTROL * Add support for `--x-manifest-root`, as well as code for finding it if not passed * Add support for parsing manifests! * Add a filesystem lock! ==== Important Changes which are somewhat unrelated to manifests ==== * Rename `logicexpression.{h,cpp}` to `platform-expression.{h,cpp}` * Add `PlatformExpression` type which takes the place of the old logic expression * Split the parsing of platform expressions from checking whether they're true or not * Eagerly parse PlatformExpressions as opposed to leaving them as strings * Add checking for feature flag consistency * i.e., if `-binarycaching` is passed, you shouldn't be passing `--binarysource` * Add the `Json::Reader` type which, with the help of user-defined visitors, converts JSON to your internal type * VcpkgArgParser: place the switch names into a constant as opposed to using magic constants * In general update the parsing code so that this ^ works * Add `Port-Version` fields to CONTROL files * This replaces the existing practice of `Version: <my-version>-<port-version>` ==== Smaller changes ==== * small drive-by cleanups to some CMake * `${_VCPKG_INSTALLED_DIR}/${VCPKG_TARGET_TRIPLET}` -> `${CURRENT_INSTALLED_DIR}` * Remove `-analyze` when compiling with clang-cl, since that's not a supported flag (vcpkg's build system) * Add a message about which compiler is detected by vcpkg's build system machinery * Fix `Expected::then` * Convert `""` to `{}` for `std::string` and `fs::path`, to avoid a `strlen` (additionally, `.empty()` instead of `== ""`, and `.clear()`) * Add `Strings::strto` which converts strings to numeric types * Support built-in arrays and `StringView` for `Strings::join` * Add `operator<` and friends to `StringView` * Add `substr` to `StringView` * SourceParagraphParser gets some new errors
2020-06-15[vcpkg] Add vcpkg item to project settings in Visual Studio (#4361)Alexander Neumann
Co-authored-by: Curtis J Bezault <curtbezault@gmail.com> Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com> Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
2020-06-04[vcpkg] Provide $(VcpkgRoot) and $(VcpkgCurrentInstalledDir) for customers. ↵Billy O'Neal
(#11779)
2020-06-03[vcpkg] Allow CI to pass in all relevant directories and remove use of ↵Billy O'Neal
symbolic links (#11483)
2020-05-29[vcpkg] Rename the msbuild property VcpkgRoot to VcpkgCurrentInstalledDir, ↵Billy O'Neal
and set VcpkgRoot to the expected root instead. (#11653)
2020-05-21[vcpkg] Fix cmake architecture detection on windows with ninja generator ↵Christian Fersch
(#11466)
2020-05-20[vcpkg] Fix macOS applocal.py dependency bundling. (#11057)Kevin Hartman
This is the same issue and fix applied here https://github.com/OpenZWave/ozw-admin/issues/4.
2020-05-08[azure-kinect-sensor-sdk] Fix Deploy Azure Kinect Sensor SDK on Windows (#11139)Tsukasa Sugiura
* Fix Deploy Azure Kinect Sensor SDK on Windows Fix deploy Azure Kinect Sensor SDK on Windows by copy Depth Engine. * Fix Download URL by Version Number * Fix Check SHA512 Hash of NuGet package * Add Check Library Linkage * Change Install Directory for Deploy Files * Update ports/azure-kinect-sensor-sdk/portfile.cmake Co-authored-by: nicole mazzuca <mazzucan@outlook.com>
2020-04-15Add initial iOS support (#6275)alcroito
* 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
2020-03-25Map configuration also for single configuration generators (#10397)Alexander Neumann
2020-02-09[vcpkg] Add VCPKG_SUPPRESS_INSTALLED_LIBRARIES_WARNING and ↵Robert Schumacher
VCPKG_OVERRIDE_FIND_PACKAGE_NAME parameters to the vcpkg toolchain. (#9996) VCPKG_SUPPRESS_INSTALLED_LIBRARIES_WARNING - Silences warning about lacking installed libraries for the current triplet VCPKG_OVERRIDE_FIND_PACKAGE_NAME - Enables cooperation with other tooling that may want to hook find_package
2020-01-24Make VS 2019 default to x64 (#9816)Alexander Neumann
Since CMake also does this
2020-01-09Map MinSizeRel and RelWithDebInfo correctly (#6393)Alexander Neumann
* Map MinSizeRel and RelWithDebInfo to Release by default * switch to CMAKE_CONFIGURATION_TYPES * changed mapping slightly * add empty list element to the mapping * more comments and an option to turn verbose messages on. * removed line info. It would require the file name to make sense out of it.
2019-12-20Fix CMAKE_TRY_COMPILE_PLATFORM_VARIABLES (#8533)Alexander Neumann
* Fix CMAKE_TRY_COMPILE_PLATFORM_VARIABLES to respect already set values closes #8506 * ws change to trigger full rebuild
2019-09-23Use CMAKE_TRY_COMPILE_PLATFORM_VARIABLES to propogate values (#5180)Don
CMAKE_TRY_COMPILE_PLATFORM_VARIABLES is used when CMake 3.6.0 or higher is encountered. For older versions the previous behavior emulating this functionality is used.
2019-08-12vs 2019 integration bug (#7623)dan-shaw
2019-07-22Resolves "project is never up-to-date" problem (issue 6179) (#7322)crusader-mike
2019-06-12Update applocal.ps1 (#4942)shadowxiali
* Update applocal.ps1 * Update applocal.ps1 Fix Microsoft#2801, prev modify mistake UTF8 to UTF * Update applocal.ps1 in win7 chinese path, must utf8 to avoid copy dll fail
2019-05-31Fix vcpkg thingsThad House
2019-05-31Merge masterThad House
2019-05-24make regex case insensitive (#6402)Alexander Neumann
2019-05-18[vcpkg.cmake] Remove use of IN_LIST (#6521)Sean Warren
Fixes regression introduced by #5681 in CMake projects with minimum version <3.3 where CMP0057 is not set to NEW Fixes #6484
2019-05-16Add mac applocal for bundling dependencies (#5681)Sean Warren
2019-05-13fix parens in cmake variable name (#6420)lukka
2019-05-12also ignore x86 openssl paths (#6416)Alexander Neumann
2019-04-24Add support for CMake generation with VS 2019 (#6090)Thad House
2019-04-14VS 2019 supportThad House
2019-04-14Add WPILib port for vcpkgThad House
2019-04-04Fix installation failure when system Boost present (#5939)Damian Jarek
Boost 1.70 introduces "native" cmake config scripts which are accidentally used when installing a vcpkg package. This only occurs when Boost 1.70 is installed in the system when the user uses `vcpkg install`. Signed-off-by: Damian Jarek <damian.jarek93@gmail.com>
2019-03-14Merge pull request #5574 from Neumann-A/VTK_8.2.0Phil Christensen
[VTK 8.2.0/HDF5 1.10.5] Upgrade VTK and HDF5