aboutsummaryrefslogtreecommitdiff
path: root/scripts/cmake
AgeCommit message (Collapse)Author
2020-02-27[vcpkg] Better vcpkg_apply_patches error message (#10127)Leonid Pospelov
2020-02-12[vcpkg-docs] Add documentation for `vcpkg_configure_meson()`, ↵Robert Schumacher
`vcpkg_install_meson()`, `vcpkg_fixup_cmake_targts()`, and `vcpkg_prettify_command()` (#7606) * [vcpkg-docs] Add documentation for `vcpkg_configure_meson()`, `vcpkg_install_meson()`, `vcpkg_fixup_cmake_targts()`, and `vcpkg_prettify_command()` * [docs] Address code review comments. Reformat docs for vcpkg_fail_port_install.
2020-02-04[tools] Add python64 bit. (#7964)Jack·Boos·Yu
* [tools]Add python64 bit. * [pybind11/shiva]Add version number. * [duktape]Fix build error using python64 bit. * [duktape]Fix python2 path. * [duktape]Fix duketape build: using python2 tools. * Change subdirs and archive names for PYTHON2 and PYTHON3 * [duktape] Update version info * [shiva] Add homepage * update baseline * update baseline Co-authored-by: Victor Romero <romerosanchezv@gmail.com>
2020-02-03[vcpkg] Add Supports: field. Use contents of triplets instead of names for ↵Phil Christensen
dependency resolution. (#8601) * remove unfinished "supports" tag * extract "supports" from control files But do nothing with the value * Start `Supports` documentation * Use Supports in a bunch of control files I only tried matching the already existing logic in the portfile.cmake. * Cmake var provider (#8) * Cmake var provider (#9) * fix windows build (#10) * Add missing files to build * Fix test (#11) * adding hooks for cmake variables in expressions * Adding hooks for 'supports' in CI test * Fix test (#12) * Add overrides to evaluation environment * use "supported" tag in CI testing * cleanup comment * Fix issues with PR * [var_provider] Get library linkage variables from triplet * Fix compilation errors in tests * Add unimplemented functions * Fix unit tests part 1 * Fix issue when buildtrees dir does not exist * Change binary output hash * Fix handling of * feature * Add core feature when using * * Do not add Default-Features when installing 'core' * [vcpkg] WIP. 6 failing tests. * [vcpkg] WIP. 1 failing tests. * [vcpkg] WIP. 0 failing tests. * [vcpkg] Removed 'remove_graph'. 0 failing tests. * [vcpkg] Removed 'install_graph'. 0 failing tests. * [vcpkg] Remove AnyAction; replace with ActionPlan * [vcpkg] Minor cleanup. * [vcpkg][z3][qt5-connectivity][qt5-purchasing] Improve error messages while parsing. Fix a few trivial port issues. * [vcpkg] Work around ICE with MSVC v140 * [vcpkg] Add purge on fail to decompress for CI * [vcpkg] Fix parsing of nested parentheses in qualifiers * [vcpkg] Fix Linux builds (explicit qualification in declaration) * [vcpkg] Fix Build-Depends implying default features. Fix qualified dependencies regression. * [mmx] Add to skip list and full rebuild -- mmx causes problems by installing 'sched.h' * [libpqxx][mqtt-cpp] Prevent installing include/CMakeLists.txt * [cppitertools] Fix installed include namespace (should be include/cppitertools) * [libsoundio] Move headers into soundio/ subdirectory as per original cmake * [ci.baseline] Temporarily skip charls due to conflict with dcmtk * [vcpkg] Add restricted include files post build check -- bump global abi version * [libsoundio] Hotfix stray line in portfile * [vcpkg] Fix regression: CMake information was not being displayed for build-and-install actions * [jsonnet] Fix installation of internal headers; use system nlohmann-json * [grpc][upb] Teach grpc to use packaged upb. Add find_package(upb). Remove inappropriate upb features. * [zfp] Move problematic 'include/bitstream.h' to 'include/zfp/bitstream.h' * [x265] Bump control version to trigger rebuild after zfp conflict * [akali] Disable parallel configure * [dirent][dlfcn-win32][getopt-win32][pthreads] Grandfather into VCPKG_POLICY_ALLOW_RESTRICTED_HEADERS * [ci.baseline] Update baseline for improved upb support * [tgui] Disable parallel configure * [libiconv] Enable VCPKG_POLICY_ALLOW_RESTRICTED_HEADERS * [aws-sdk-cpp] Disable parallel configure * [vcpkg] Implement policy VCPKG_POLICY_ALLOW_RESTRICTED_HEADERS * [aws-sdk-cpp] Fix amount of escaping semicolons -- Note: I do not know the root cause requiring this change * [libodb-sqlite] Fix configuring into source directory * [gettext] Grandfather into VCPKG_POLICY_ALLOW_RESTRICTED_HEADERS * [libodb] DISABLE_PARALLEL_CONFIGURE * [vcpkg] Add 'config.h' and 'local.h' to restricted header list * [mcpp] Remove unused and problematic include 'config.h' from installed files * [teemo] Move installed headers into subdirectory to prevent conflicts with x265 * [ci.baseline] Update current OSX. Skip libmesh on all platforms due to heavy conflicts. * [vcpkg] Add 'slice.h' as a restricted header * [osg] Improve accuracy of dependencies (disable some, add some to Depends) * [vcpkg] Skip invoking a subprocess for 0 specs in load_tag_vars * [ci.baseline] Skip mongo-c-driver on osx due to flakiness * [teemo] Fix incorrect include file read * [osg] Fix dependency typo: glut -> freeglut * [vcpkg] Recover some lost performance with the addition of vcpkg_get_tags. A huge performance cost was loading the triplet files over and over; instead, we splice the sources into a macro and load it once, then just call that macro for each port. Remove use of hashing because we aren't cross-process-safe anyway (global static will do instead). * [vcpkg] Change Supports atom 'windows' to include UWP. Improve Supports field documentation. * [vcpkg] Add docs for VCPKG_ENV_PASSTHROUGH and VCPKG_DEP_INFO_OVERRIDE_VARS * Fix typo Co-authored-by: Curtis J Bezault <curtbezault@gmail.com> Co-authored-by: Victor Romero <romerosanchezv@gmail.com> Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
2020-01-27[vcpkg_find_acquire_program] Include version in downloaded python MSI name ↵Robert Schumacher
to avoid conflicts when updating (#8774)
2020-01-27Update the repo for jom 1.1.3 (#9265)Colin Barré-Brisebois
* Update the repo for jom 1.1.3 - The qt repo is unreliable, often down. Use the Berkeley mirror instead. * Set two possible URLs for JOM v1.1.3 * Update indent to match coding style
2020-01-23MinGW: Fix vcpkg common definitions (#9807)Cristian Adam
Since MinGW has both VCPKG_TARGET_IS_MINGW and VCPKG_TARGET_IS_WINDOWS, make sure to test the first before.
2020-01-22[doxygen] Add alternative download URL (#9708)Wolfgang Stöggl
Only the current and the previous version of doxygen can be downloaded from: http://doxygen.nl Sourceforge provides the current version and any previously released versions for download: https://sourceforge.net/projects/doxygen/files/ Add sourceforge as alternative download URL. This avoids situations, when the version of doxygen in vcpkg is n-2 and cannot be downloaded any more, see e.g. commit: 526f9375800f846b113989fc3d566af7b8c79408
2020-01-17Add support for building with MinGW (#9137)Cristian Adam
* Add support for building with MinGW Tested with MSYS2 MinGW 8.3.0, gcc-mcf.lhmouse MinGW 9.2.1, and StephanTLavavej/mingw-distro! * Add MinGW toolchain From your MinGW configured shell you could just use vcpkg to configure packages. An x64-mingw triplet would look like: ``` set(VCPKG_TARGET_ARCHITECTURE x64) set(VCPKG_CRT_LINKAGE dynamic) set(VCPKG_LIBRARY_LINKAGE static) set(VCPKG_ENV_PASSTHROUGH PATH) set(VCPKG_CMAKE_SYSTEM_NAME MinGW) ``` * Add MinGW community tripplets x64 tested with https://github.com/StephanTLavavej/mingw-distro x86, arm64, arm tested with https://github.com/mstorsjo/llvm-mingw
2020-01-15[doxygen] Updated to 1.8.17 (#9574)tags
* Updated doxygen to 1.8.17 from 1.8.15
2020-01-13[vcpkg] Fix build type in vcpkg_build_make.cmake (#9602)NancyLi1013
* [vcpkg] Fix build type in vcpkg_build_make.cmake * Update x264 and libosip to test vcpkg_build_make() function * [x264] Update portfile.cmake
2020-01-06[qt5-base] Fix Qt5 linux build and be a bit less flaky in CI (#9260)Alexander Neumann
* Fix static qt5 builds and ignore system qmake closes #9234 and #9239 * fix angle conflict and icu dependency * add egl-registry as a dependency * remove space * adding spaces resolved the problem * move files only if they exist * Update the Wrapper to use the Postgres target fixes some observed linkage issues * update baseline * add fontconfig on linux so CI is less flaky in a full rebuild * fix linkage dependent qt5-imageformats libs * Fix Wrapper for Linux and add other platform libs to Qt5::Core * fix plugin properties in cmake files * fix cmake files. * fix missing plugin qminimal deployment into tools dir * change wrapper slightly * UNIX also means APPLE so it needs to be excluded * fix the static windows build * mark the parts of fixcmake which require further work to work with single configuration builds * Update ci.baseline.txt make qt5-tools pass for CI testing * fix last regression * break auto fontconfig in configure script to fix qt5-tools * update baseline * enable verbose to debug ci * try to help it instead of breaking it * completly link icu * try to fix fontconfig configure * fix configure call. cannot be called with a list! * remove invalid line from patch * force icu and reduce the required icu libs according to the configure script * fix icu linkage * add more icu dependencies and names for windows * add more icu libs. Seems like all are needed * fix typo * print icu libs in debug * check releasenames * try again * change link order * add icu to wrapper * fix typo * patch icu configure for static windows builds * add other icu libraries to the icu patch * fix icu in x64-windows-static * update baseline. VTK builds in local WSL so it should work in CI * update VTK control to force rebuild * remove qt5-tools=pass from baseline * remove qcustomplot:x64-linux=fail from baseline Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
2019-12-23[vcpkg_install_qmake] Add vcpkg_install_qmake (#9412)Robert Schumacher
* [vcpkg_install_qmake] Add vcpkg_install_qmake and convert existing ports to use it. [vcpkg_configure_qmake] Add 'staticlib' to CONFIG in static builds * [vcpkg_configure_qmake] Don't specify DESTDIR * [libqglviewer][vcpkg_configure_qmake] Add staticlib CONFIG only for libqglviewer * [qt5-base] Increment version to track changes in vcpkg_configure_qmake()
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-12-07[libxslt] Fix writing to locations outside vcpkg in Windows builds (#9242)Robert Schumacher
* [libxslt] Fix writing to locations outside vcpkg in Windows builds * [libxslt] Add passing arm64-windows to baseline
2019-12-06[vcpkg_find_acquire_program] Give hints for yasm with brew and apt (#9191)Laurent Rineau
2019-12-03[ffmpeg] Fixed build error ARM64 Windows 10 (#9160)Tatsuro Shibamura
* [ffmpeg] Fixed build error ARM64 Windows 10 * [ffmpeg] Avoid gas-preprocessor caching
2019-11-22Merge pull request #5719 from donny-dont/github-urlRobert Schumacher
[vcpkg_from_github] Allow targeting Github Enterprise instances
2019-11-22[vcpkg_from_github] Rename GITHUB_URL -> GITHUB_HOSTRobert Schumacher
Rename TOKEN -> AUTHORIZATION_TOKEN
2019-11-22Merge pull request #7598 from Neumann-A/path_separatorRobert Schumacher
[vcpkg] QoL: add host specific path separator to common definitions
2019-11-19[libusb] upgrade and support arm64 (#8976)Phoebe
2019-10-29[libxslt]Using vcpkg_install_nmake in Windows, support unix. (#8589)JackBoosY
* [libxslt]Using vcpkg_install_nmake in Windows, support unix. * support PRERUN_SHELL/PRERUN_SHELL_DEBUG/PRERUN_SHELL_RELEASE * Re-trigger CI.
2019-10-28mesonbuild - Update to 0.52.0 (#8639)Wolfgang Stöggl
* mesonbuild - Update to 0.52.0 * [tool-meson] Add package to represent dependency on Meson build-system
2019-10-21Fix separate make and install execution error issue. (#8540)JackBoosY
* Fix separate make and install execution error issue. * trigger CI system. * Fix multiple copy files under debug, fix separator between make and install in linux.
2019-10-21support SKIP_CONFIGURE in vcpkg_configure_make. (#8647)JackBoosY
2019-10-21Add AUTOCONF support with vcpkg_configure_make. (#8610)JackBoosY
2019-10-21vcpkg_configure_meson - Remove compiler flag /Oi (#8667)Wolfgang Stöggl
Removing the compiler flag /Oi (Generate Intrinsic Functions) allows meson to detect functions like memmove, memset correctly. This is relevant to meson configure for fribidi (see fribidi/meson.build). This fixes the following "issues" (from fribidi meson-log.txt): testfile.c(17): error C2168: 'memmove': too few actual parameters for intrinsic function Checking for function "memmove" : NO testfile.c(17): error C2168: 'memset': too few actual parameters for intrinsic function Checking for function "memset" : NO And enables detection of the functions: Checking for function "memmove" : YES Checking for function "memset" : YES
2019-10-21[vcpkg_download_distfile.cmake] Fix Examples (#8669)Ehsan
2019-10-09Fix option -j (#8489)JackBoosY
* Remove unusable parameters -j * trigger CI system. * Add option -j to make. * Re-trigger CI system. * Fix -j in make, fix NO_DEBUG in nmake. * Re-trigger CI system.
2019-10-07[vcpkg] fatal_error when patch fails to apply (#8087)Stefano Sinigardi
vcpkg will now fail on failure to apply patches except when using `--head`.
2019-10-05Add function ↵JackBoosY
vcpkg_configure_make/vcpkg_build_make/vcpkg_install_make/vcpkg_build_nmake/vcpkg_install_nmake (#8267) * Add function vcpkg_configure_make/vcpkg_build_make. * Fix autoreconf command and add log. * Add vcpkg_install_make. * Fix call function name. * support non-debug mode. * Add nmake support. * [tcl]Add new port for testing. * [vcpkg_configure_make]Fix prefix in linux. * restart CI systen. * Separate vcpkg_build_nmake/vcpkg_install_nmake. Add arg PROJECT_NAME. * fix copy source file. add samples. * Remove uncommon options. Add force install para to autoreconf. * fix build error. * fix options judgment. * enable nmake in windows. * fix some envs and macros. Disable NMAKE in vcpkg_configure_make currently. * update docs. * fix environments. * Modify libosip2 to use vcpkg_configure_make/vcpkg_install_make. * [tcl]Tcl separates PR. * trigger PR-EAGER. * [freexl]Fix options name and remove option NMAKE. * use tool-chain instead of set environments manually. * fix autoreconf para. * use vcpkg_execute_build_process instead.
2019-10-04Add go to vcpkg_find_acquire_program (#8440)Alexej Harm
2019-10-01[Documentation] Added documentation page for vcpkg_fixup_cmake_targets.cmake ↵Vinny
(#8365) * Added documentation page for vcpkg_fixup_cmake_targets.cmake, added example usage comment to .cmake file * Update cmake_fixup_cmake_targets.md * Update cmake_fixup_cmake_targets.md
2019-09-23[vcpkg] Avoid RENAME usage to prevent cross-device link problems (#4245) (#8032)Leonid Pospelov
2019-09-20[Qt] Fix static builds of qt5-imageformats (#8222)Alexander Neumann
* forward extra arguments to vcpkg_configure_qmake from submodules * make image format dependent on tiff and libwebp * make tools dependent on imageformat * build options must be passed a bit different then normal qmake options * add the required dependencies * a new dependency discovered in qt5-declarative * need webpdemux also * qt5-declarative is dependent on imageformats so we can drop it here * remove empty qt.conf if it exists. closes #8180 * add all recommended dependencies as dependencies in control.
2019-09-20fixed leaking variable in vcpkg_build_qmakeAlexander Neumann
2019-09-20update vcpkg_configure_cmakeAlexander Neumann
2019-09-20removed escaped version. added correct usage descriptionAlexander Neumann
2019-09-20Merge remote-tracking branch 'upstream/master' into path_separatorAlexander Neumann
# Conflicts: # scripts/cmake/vcpkg_common_definitions.cmake
2019-09-20revert changes to vcpkg_build_qmake fileAlexander Neumann
2019-09-16[vcpkg] add missing implib definitions, fix shared lib extension on mac (#8131)Alexander Neumann
* [vcpkg] add missing implib definitions, fix shared lib extension on mac (cherry picked from commit 2cddef9541202ecc01ad43036575bc606dc01117) * Better find_library suffixes and prefixes. * moved additional suffix into a comment and reverted back to what is expected on windows * updated documentation for add variables.
2019-09-12Fix bug in `.vcpkg-root` detection that breaks `--overlay-triplets` (#7954)martin-s
* - Added scripts variable to ports file. - Added check if triplet file is not available (NPE). * - Fixed line endings. * Provide location of .vcpkg-root to ports.cmake * vcpkg sets VCPKG_ROOT_PATH in ports.cmake * [vcpkg] Fail if VCPKG_ROOT_PATH is not passed from vcpkg.exe * [vcpkg] Fix vcpkg rooth path * [vcpkg] Make --x-scripts-root an experimental command
2019-09-12[Qt] Update to 5.12.4 (#7667)Alexander Neumann
* update to 5.12.4 * removed port qt5-modularscripts and split it functionality into more functions into qt5-base * added qt_port_hashes.cmake for simpler upgrade. * added optional VCPKG_QT_HOST_MKSPEC and VCPKG_QT_TARGET_MKSPEC to select QTs build mkspecs from a triplet * qt_<config>.conf are now copied from the build dir instead from the port dir * fixed freetype dependencies. * cleanup of vcpkg_qmake scripts. No strange/unclear replacements anymore. * introduced vcpkg_buildpath_length_warning * changed directory layout of the qt5 installation executables and mkspecs a bit.
2019-08-29Use macro instead of function to override execute_process() (#7980)Victor Romero
2019-08-28Download Mode (#7950)Victor Romero
* [portfile functions] Override execute_process() to accept ALLOW_IN_DOWNLOAD_MODE option * [vcpkg install] Set VCPKG_DOWNLOAD_MODE when using --only-downloads option * [vcpkg_find_acquire_program] Allow in Download Mode * Don't stop when build fails for a package * Download sources for all packages in dependency graph * Improve output messages * Enable acquiring MSYS packages in download mode * Documentation * Update documentation * execute_process() always fails on Download Mode * Regenerate docs and fix formatting * Run clang-format * Use _execute_process on vcpkg_from_<source> helpers * Fix calls to _execute_process() when not in Download Mode
2019-08-28Revert "[vcpkg install] Enable Download Mode (#7797)" (#7949)Victor Romero
This reverts commit 65d4bc146bf7c1c21989b680497b1f6f9a09c967.
2019-08-28[vcpkg install] Enable Download Mode (#7797)Victor Romero
* [portfile functions] Override execute_process() to accept ALLOW_IN_DOWNLOAD_MODE option * [vcpkg install] Set VCPKG_DOWNLOAD_MODE when using --only-downloads option * [vcpkg_find_acquire_program] Allow in Download Mode * Don't stop when build fails for a package * Download sources for all packages in dependency graph * Improve output messages * Enable acquiring MSYS packages in download mode * Documentation * Update documentation * execute_process() always fails on Download Mode * Regenerate docs and fix formatting * Run clang-format * Use _execute_process on vcpkg_from_<source> helpers
2019-08-23Merge branch 'master' into path_separatorAlexander Neumann
2019-08-22[vcpkg] QoL: add host/target dependent variables for executable suffixes ↵Alexander Neumann
(#7599) * improve documentation * add executable suffixes for host/target into common definitions
2019-08-21Merge branch 'master' into path_separatorAlexander Neumann