aboutsummaryrefslogtreecommitdiff
path: root/scripts/buildsystems
AgeCommit message (Collapse)Author
2021-02-10[vcpkg integrate install] Allow setting the vcpkg installed dir (#16173)nicole mazzuca
* [vcpkg integrate install] Allow setting the vcpkg installed dir * fix the cache-y thing * robert crs
2021-02-09[vcpkg.targets] Add an additional options parameter for MSBuild integration ↵ras0219
(#16155) Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
2021-02-08[vcpkg] Added support for additional `install` modifiers in ↵Carsten Rudolph
X_VCPKG_APPLOCAL_DEPS_INSTALL. (#16095)
2021-02-04[msbuild]Fix incorrect triplet configuration for Project Reunion apps (#15410)Soumya Ranjan Mahunt
* Fix incorrect triplet configuration for Project Reunion apps * Modified VcpkgOSTarget detection condition
2021-02-03[vcpkg] fix X_VCPKG_APPLOCAL_DEPS_INSTALL (#15960)David Hrdlička
* [vcpkg] fix X_VCPKG_APPLOCAL_DEPS_INSTALL * [vcpkg] fix x_vcpkg_install_local_dependencies Fixed `x_vcpkg_install_local_dependencies` always assuming a relative `DESTINATION`.
2021-01-29[vcpkg] Teach vcpkg.targets to emit a .tlog, enabling up-to-date checks (#15898)ras0219
Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
2021-01-28set CMake policy CMP0087 for X_VCPKG_APPLOCAL_DEPS_INSTALL (#15874)Be
Without this, X_VCPKG_APPLOCAL_DEPS_INSTALL does not work and CMake prints this warning at the configure step: CMake Warning (dev) in CMakeLists.txt: Policy CMP0087 is not set: Install CODE|SCRIPT allow the use of generator expressions. Run "cmake --help-policy CMP0087" for policy details. Use the cmake_policy command to set the policy and suppress this warning. This warning is for project developers. Use -Wno-dev to suppress it. https://cmake.org/cmake/help/latest/policy/CMP0087.html
2021-01-22[vcpkg,boost-modular-build-helper] initial ppc64le community support (#15572)Andrei Lebedev
* [vcpkg] initial ppc64le community support Signed-off-by: Andrei Lebedev <lebdron@gmail.com> * [boost-modular-build-helper] ppc64le support Signed-off-by: Andrei Lebedev <lebdron@gmail.com> * Merge from master Co-authored-by: PhoebeHui <20694052+PhoebeHui@users.noreply.github.com> Co-authored-by: dan-shaw <51385773+dan-shaw@users.noreply.github.com> Co-authored-by: Nicole Mazzuca <mazzucan@outlook.com>
2021-01-14[vcpkg registries] Add git registries (#15054)nicole mazzuca
* [vcpkg registries] Add git registries support * Add git registries support to the registries module of vcpkg. * add e2e tests for git registries * fix vcpkg.cmake for registries * fix CRs, remove a thing * better error messages * Billy CRs * fix Robert's CR comment * I learned about `-c` today * format * fix baseline.json * failing to find baseline is technically not a bug
2020-12-21Write manifest "vcpkg install" output to stdout (#15187)Matt Haynie
2020-12-07[vcpkg] x_vcpkg_install_local_dependencies fixes (#14977)Sander Cox
* Conversion to PARSE_ARGV was missing parameter * Cannot install for interface_libraries
2020-11-30[vcpkg] Fix issue in vcpkg.targets that introduced in 13755 (#14797)Phoebe
2020-11-25[vcpkg msbuild] Fix the issues introduced in 13755 (#14772)nicole mazzuca
* Fix the issues introduced in 13755 Fixes #14735 * add VcpkgRoot != ''
2020-11-20[vcpkg] X_VCPKG_APPINSTALL_DEPS_INSTALL optionally install dependencies on ↵Sander Cox
install (#14243) * Adding an install command override for dependencies * Apply suggestions from code review Use variables directly instead of prefixing with `${}` as is done in rest of the file. Thanks @shatur95 Co-authored-by: Hennadii Chernyshchyk <genaloner@gmail.com> * Update scripts/buildsystems/vcpkg.cmake Co-authored-by: Hennadii Chernyshchyk <genaloner@gmail.com> Co-authored-by: Hennadii Chernyshchyk <genaloner@gmail.com>
2020-11-19[vcpkg] Two bug fixes and some improvements in buildsystems/msbuild (#13755)Dr. Frank Heimes
* Use IncludePath and LibraryPath properties These tool agnostic properties allow to configure ClCompile and ResourceCompile without repeating the code. This change includes my changes from #4454. * Applied changes as described in #13753 * Fixed warning and error in vcpkg end-to-end tests * Fixed incorrect warning "we found a manifest file in \." * Fixed still failing integration test. See discussion in #13753. * Code Review Correction Removed stray double quote reported by @strega-nil * change display name Co-authored-by: Nicole Mazzuca <mazzucan@outlook.com> Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
2020-11-12[vcpkg] Add x-ignore-lock-failures (#14397)nicole mazzuca
* [vcpkg] Add disable-lock options This should fix #14281 at least as a stopgap. Additionally, adds better errors. * billy CRs * change from "disable-lock" to "allow-spurious-lock-failures" * billy cr
2020-11-10[vcpkg/scripts] Add a way to get cmake compiler settings/flags (#12936)Alexander Neumann
* add function get_cmake_vars * fine tuning. * apply to make based ports. * add log suffix on not windows platforms * fix c&p error * add previous LINK env * setup env on windows and extract cpp flags correctly. * Apply suggestions from code review * commit changes from fontconfig PR * Apply suggestions from code review Co-authored-by: nicole mazzuca <mazzucan@outlook.com> * cleanup docs * add conversion from somelib.lib to -lsomelib * add missing ar-lib wrapper * small but important regex correction * add latest changes from update_fontconfig PR * Apply suggestions from code review first set which don't need special attention Co-authored-by: ras0219 <533828+ras0219@users.noreply.github.com> * Apply suggestions from code review one more simple change Co-authored-by: ras0219 <533828+ras0219@users.noreply.github.com> * [x264] set env AS * fix bugs due to refactor * use subpath everywhere * apply changes from CR * remove unnecessary lines 41 & 44 * remove flag transformation * reintroduce the flag / to - transformation for MSVC * Apply suggestions from code review Co-authored-by: ras0219 <533828+ras0219@users.noreply.github.com> * rename the function * rename function/variables * transform flags list * Apply suggestions from code review * fix vcpkg_build_make due to the variable name change * fix another case of function renaming regressions * only rename config.log if it exists * actually add the script after vcpkg_common_functions was deleted. * remove setting of ldflags if path contains spaces Co-authored-by: nicole mazzuca <mazzucan@outlook.com> Co-authored-by: ras0219 <533828+ras0219@users.noreply.github.com>
2020-11-09Add support for llvm-objdump to applocal.ps1 (#11898)Christian Fersch
Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
2020-11-01[vcpkg] Fix incorrect determination of PowerShell not found (#14317)Billy O'Neal
* Fix incorrect determination of PowerShell not found because Bill doesn't know enough CMake :( Resolves #14283
2020-10-27[vcpkg, jsonnet, openssl-uwp] Enable use of the system powershell-core if it ↵Billy O'Neal
is present. (#13805)
2020-10-27Serialize deployBinary on target directory (#11363)Thomas Gwynne-Timothy
2020-10-21[vcpkg] Vcpkg appinstall deps fixes (#14129)Sander Cox
2020-10-19[CMake] VCPKG_APPLOCAL_DEPS sometimes causes conflicts when processing ↵Sander Cox
multiple files in the same directory (#13025) Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
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.