aboutsummaryrefslogtreecommitdiff
path: root/scripts/buildsystems
AgeCommit message (Collapse)Author
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
2019-03-14fix missing debug references in cmake generated (release) target files.Alexander Neumann
2019-03-13[tiff] use vcpkg wrapper for all configs, remove dead code (#5584)Stefano Sinigardi
* [tiff] use vcpkg wrapper for all configs, remove dead code * [tiff] update CONTROL
2019-03-05[hdf5] Use cmake wrapper to ensure consuming libraries link to szip (#5467)Sean Warren
* [hdf5] Use cmake wrapper to ensure consuming libraries link to szip in static build * [hdf5] Move hdf5 cmake code from vcpkg.cmake to vcpkg-cmake-wrapper * [hdf5] Do not force search in config mode * [hdf5] balance needs of vtk and kealib
2019-02-28Modify `vcpkg_fixup_cmake_targets()` (#5459)Victor Romero
* some libraries export <PackageName>LibraryDepends.cmake instead of <PackageName>Targets.cmake. Those file also need the fix of #1044 should close #4753 * prefered the general solution #4622. hopefully solved the issue within #4150 replaced the regex with something more readable (also ident is lost) should close: #4753 #4633 #4150 and maybe more * Hash vcpkg_fixup_cmake_targets.cmake * [boost] Fix use of find_package(Boost) with cache variables [socket-io-client] Fix install * reversed change back to use regex replace * [glbinding] Fix _IMPORT_PREFIX depth in *-export.cmake files * [tinyspline] Ignore warnings treated as errors * [libevent, liblemon, libpng, smpeg2, zlib] Fix apply patches * [libsodium] Fix apply patches * [folly] Link correct libraries in debug and release * [vtk] Remove unset of _IMPORT_PREFIX * [tinyspline] Do not treat warnings as errors * [smpeg2] Fix double* to int comparison * [nvtt] Define value for HAVE_UNISTD_H in MacOS * [libui] Fix MacOS X build * [zlib] Fix download URL * [qhull] Update to v7.2.1 * [podofo] Set value for HAVE_UNISTD_H in MacOS * [mongo-cxx-driver,ogre,podofo,qhull] Bump CONTROL version * [mongo-c-driver] Set _IMPORT_PREFIX * [tmxparser] Bump CONTROL version * [qhull,vxl] Bump CONTROL version
2019-02-28Overwriting dlls in the destination output directory when the source … (#4796)SvenPStarFinanz
* Overwriting dlls in the destination output directory when the source is newer. * [vcpkg] cleanup whitespace
2019-02-06Warn when unable to determine target architecture instead of error (#5188)Sam Freed
* Warn when unable to determine target architecture instead of error * Make the warning not appear multiple times * fix multiple warnings for real
2018-11-08Temp fix for #4359 (#4573)Alexander Neumann
* make user wide integration not burn everything if LLVM is used as a toolset. (e.g. cmake -G "VS" -TLLVM fails to even find compiler due to linker issues) fixes #4359 but might have side effects for that toolset. (e.g. not automatically adding dependencies) * remove whitespaces * [vcpkg-integrate] Conform to MSBuild conventions for comparisons
2018-10-23[qt5-base] Update qtdeploy.ps1 to generate qt.conf, qml, and qtquick. Fixes ↵Robert Schumacher
#2857.
2018-08-08New packages: libimobiledevice, getopt, readline (#3504)Frederik Carlier
* Add libplist * Add libusbmuxd * Fix typos * Add getopt * Add libimobiledevice * Fix typos * Add libideviceactivation * Add ideviceinstaller * Include utilities * Install usbmuxd * Add readline * Fix readline on 64-bit windows * Add libirecovery * libideviceactivation: include tools * Bump versions to fix build issues * Bump versions * Add idevicerestore * [getopt][getopt-win32] Rename to getopt-win32 and only install on Windows Desktop * [readline][readline-win32] Rename to readline-win32 and only install for Windows Desktop * [vcpkg_from_github][vcpkg_apply_patches] Make PATCHES relative to the current port directory * [vcpkg_install_msbuild][vcpkg_check_linkage] Introduce vcpkg_install_msbuild() and vcpkg_check_linkage(). * [libimobiledevice et al] Use vcpkg_from_github() and vcpkg_install_msbuild() * [readline] Fix static builds
2018-04-23Fix grpc lookup (case-insensitive)Alexander Karatarakis
2018-04-18[magnum] Properly deploy plugins (#3191)Jonathan Hale
* [magnum] Properly deploy magnum plugins Signed-off-by: Squareys <squareys@googlemail.com> * [magnum-plugins] Add tinygltfimporter feature Signed-off-by: Squareys <squareys@googlemail.com> * [magnum][magnum-plugins] Add features: trade and any* Prepares upcoming move of those sublibraries and allows building --head immediately. For current release this only adds some unused cmake flags that will be ignored. Signed-off-by: Squareys <squareys@googlemail.com> * [magnum] Add gl feature, cleanup dependencies, mark upcoming features And sort features alphabetically. Signed-off-by: Squareys <squareys@googlemail.com> * [magnum-plugins] Prepare renaming of static flag for --head installs Signed-off-by: Squareys <squareys@googlemail.com> * [magnum] Add two missing feature dependencies Signed-off-by: Squareys <squareys@googlemail.com> * [magnum] Enable magnum[any*] features by default Signed-off-by: Squareys <squareys@googlemail.com>
2018-04-05[vcpkg-cmake-toolchain] Remove some hardcoded find_package helpers and guard ↵Robert Schumacher
all remaining ones
2018-03-29[vcpkg.cmake] Remove Windows SDK detection. Let cmake detect itAlexander Karatarakis
2018-03-14[vcpkg-cmake-toolchain] Only wrap find_package(Boost) if a boost library is ↵Robert Schumacher
installed.
2018-03-13[vcpkg] Improve non-Windows default triplet detectionRobert Schumacher
2018-03-11[vcpkg] Enable packages to provide cmake wrapper scripts.Robert Schumacher
2018-03-11[vcpkg] Improve defaults for other platformsRobert Schumacher
2018-03-09[libxml2] Fix vcpkg toolchain helperRobert Schumacher
2018-03-07[gsl] Fix finding release libs in debug configurations. Fixes #2982.Robert Schumacher
2018-03-07applocal-deps applied to MODULE_LIBRARY target too (#2972)Bruce Jones
* Fix for issue #2786 * [vcpkg-cmake-toolchain] Only applocal dependencies for shared libraries * applocal-deps applied to MODULE_LIBRARY target too
2018-03-07add shogun 6.1.3 (#2977)Viktor Gal
* add shogun 6.1.3 * [shogun] Add additional dependencies, force static linking
2018-03-02[vcpkg] Improve handling of external toolchain filesRobert Schumacher
2018-03-01[vcpkg] Improve handling of HDF5 targetsRobert Schumacher
2018-02-23[vcpkg-cmake-integration] Warn if no packages are installed for the current ↵Robert Schumacher
triplet.
2018-02-13Copy local dependencies for library targets (#2787)Bruce Jones
* Fix for issue #2786 * [vcpkg-cmake-toolchain] Only applocal dependencies for shared libraries
2018-02-08[qt5-base][qtdeploy] Deploy plugin dependencies to the executable's folder.Robert Schumacher
2018-02-07[vtk] Fix breaking change in find_package(HDF5)Robert Schumacher
2018-02-07[curl] Add nghttp2.lib to dependencies of curlRobert Schumacher