aboutsummaryrefslogtreecommitdiff
path: root/scripts
AgeCommit message (Collapse)Author
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-14Fix CMake checks for Apple Clang 11.0 on macOS 10.15 (#8580)Joel Pelaez Jorge
* Fix CMake checks for Apple Clang 11.0 on macOS 10.15 * Use clang++ instance clang if allowAppleClang is enabled
2019-10-09Merge pull request #8488 from JackBoosY/dev/jack/update_templateVictor Romero
update templates.
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-07use macros VCPKG_TARGET_IS_ instead of VCPKG_CMAKE_SYSTEM_NAMEJackBoosY
2019-10-07update templates.JackBoosY
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-07Update vcpkg create template (#8427)Vinny
* Began updating * Added 'Homepage:' to CONTROL, added vcpkg_check_features to vcpkg_create template * Update portfile.in.cmake Added documentation link for vcpkg_check_features
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-27[boost] Update to 1.71.0 (#7959)Robert Schumacher
* [boost] Update to 1.71.0 * [openmvs] Fixes for boost 1.71 * [telnetpp] DISABLE_PARALLEL_CONFIGURE * [execute_process] Fix output variables (like error_code) not getting populated * [telnetpp] Add missing boost-exception dependency * [boost] Refactor generate-ports.ps1 into scripts dir. Enable boost-thread on uwp. * [boost-iostreams] Revert removal of zstd dependency * [openmvs] Fix tools deployment
2019-09-24[ports.cmake] Fixup capitalization inconsistencies of Windows drive letter. ↵Tetsuya Hayashi
(#8304) CMAKE_CURRENT_LIST_DIR reflect current directory. Thus It can be lowercase drive letter. The lowercase drive letter cause #8237 issue. Fixup drive letter to uppercase by using get_filename_component().
2019-09-23[vcpkg] Avoid RENAME usage to prevent cross-device link problems (#4245) (#8032)Leonid Pospelov
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-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-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-09-06(#8013) [vcpkg] Compatibility with pwsh >= 6.2TheGoddessInari
In Powershell 6.2/7.0, `Get-ChildItem`'s paths are now printed as absolute paths instead of relative paths; this breaks the code we have that assumes that they're printed as relative paths. Thus, change the code to request the `Name` property specifically, which is what we actually wanted.
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-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-22- Fixed ports script. (#7793)martin-s
2019-08-20[tensorflow] add new port for linux (#7568)dan-shaw
* [+] Add tensorflow-cc port (Linux only) * [~] Refactor installation of tensorflow/external 1. Install tensorflow/external to tensorflow-etc/external; 2. Fix TensorflowCCConfig.cmake accordingly. * [tensorflow] Work in progress * fix tensorflow linux config * [tensorflow] partial support for windows * fix config paths * use environmental variables instead * remove files * add python_path * add verbose error messages * review fixes * [tensorflow] refactor config file * minor changes * set arch for CI
2019-08-20[vcpkg]Port toolchains (#7687)Curtis J Bezault
* checkpoint commit * Only set VCPKG_ENV_OVERRIDES_FILE if it exists * First pass at working port-toolchain * Update VERSION.txt * Return rvalue * Fix compilation error * Some fixes are requested by @ubsan * Fix another compilation error
2019-08-20make find_library useable without errors to console. (#7773)Alexander Neumann
2019-08-19add variables for target specific library suffix and prefix. (#7600)Alexander Neumann
also set the according cmakevariables in script mode enabling find_library calls in portfiles
2019-08-16[vcpkg] Major tool CMakeLists.txt updatesNicole Mazzuca
- Add the "VCPKG_DEVELOPMENT_WARNINGS" flag - setting "WERROR" will also set this flag - This flag is set by default - on GCC/clang, this will pass '-Wall -Wextra -Wpedantic -Werror' - on GCC, this will additionally pass '-Wmissing-declarations' - on clang, this will additionally pass '-Wmissing-prototypes' - on MSVC, this will pass '-W4 -WX' - On Visual Studio 2017 and later, pass '-permissive-' - Change the source for fallout of these changes - add `format` subcommand - formats all C++ source and header files using clang-format - move `include/vcpkg-test/catch.h` to `include/catch2/catch.hpp` - pass CONFIGURE_DEPENDS to file(GLOB)
2019-08-16Merge pull request #7305 from cbezault/external_file_abiCurtis J Bezault
[vcpkg] Public ABI override option
2019-08-13[vcpkg_check_features] Set output variable explicitly and allow ↵Victor Romero
reverse-logic check (#7558) * [vcpkg_check_features] Set OUT_EXPAND_OPTIONS explicitly * [vcpkg_check_features] Allow reverse logic for features * [vcpkg_check_features] Document new parameters * [vcpkg_check_features] Remove unnecessary logging * Do not create variables for each feature only set OUT_FEATURE_OPTIONS * Improve documentation * Update ports that use vcpkg_check_features() * Missing documentation updates * [pcl] Fix tools feature * [opencv,opencv4] Fix usage of vcpkg_check_features() * [opencv4] Fix typo
2019-08-12vs 2019 integration bug (#7623)dan-shaw
2019-08-11[vcpkg/cmake] Added a function to fail from portfiles in a default way (#7601)Alexander Neumann
* added function vcpkg_fail_port_install to fail the portfile under requested circumstances and display a standarized failure message * added always option. * fix linux regressions * bump control for ci tu rerun
2019-08-09remove unnecessary include, fix variable extractionCurtis.Bezault
2019-08-09Actually only override the PUBLIC ABI, not the private oneCurtis.Bezault
2019-08-09Merge branch 'master' into external_file_abiCurtis J Bezault
2019-08-02Update tests, and add documentation! (#7506)nicole mazzuca
This PR does the following: * fix tests -- now, they're always built in the CMake scripts, and they work on VS2015 *add a new flag, BUILD_TESTING, which allows one to turn off testing builds * Add documentation for running tests
2019-07-24Merge branch 'master' into external_file_abiCurtis J Bezault
2019-07-23Merge build.cppCurtis.Bezault
2019-07-23add external file hashes to the binary paragraphCurtis.Bezault
2019-07-22Resolves "project is never up-to-date" problem (issue 6179) (#7322)crusader-mike
2019-07-19Merge branch 'master' into external_file_abiCurtis J Bezault
2019-07-19[vcpkg] Portfile Settings (#7292)Curtis J Bezault
2019-07-18[vcpkg] Environment Variable Passthrough (#7290)Curtis J Bezault
* use additional env param * remove partials * remove change to linux triplet * Fix some issues that vicroms pointed out * whitespace change