aboutsummaryrefslogtreecommitdiff
path: root/scripts/toolchains
AgeCommit message (Collapse)Author
2021-06-07[vcpkg] [Android]Compile armv6 with arm mode (#17962)talregev
* Compile amrv6 with arm mode * Update android.cmake
2021-05-05Compile for android including armv6. (#16847)talregev
* compile for android including armv6. * Update arm-android.cmake * Update from comment in the PR support ANDROID_NATIVE_API_LEVEL from env variable. (to be able to compile also 16 and not just 21 as default) * Add ANDROID_ARM_NEON from env var * Short version of update ANDROID_ARM_NEON. * remove ANDROID_NATIVE_API_LEVEL now using vcpkg_CMAKE_SYSTEM_VERSION in triplet Add cache to ANDROID_ARM_NEON fix indents * Update neon triplet * Add arm-neon-android.cmake file.
2020-12-26[mingw] Remove executable extension on non-Windows hosts (#15282)Long Nguyen
2020-12-21[mingw] Use find_file to find compiler, fall back to unprefixed windres if ↵Long Nguyen
the prefixed version doesn't exist (#15179)
2020-11-23[vcpkg] initial openbsd (community) support (#14549)Joakim L. Gilje
* initial openbsd support in vcpkg * after clang-format * hardcoded in the preferred compiler for openbsd in bootstrap scipt (thanks @tormfinn) * Fetch a patched pkg-config because openbsd pkg-config lacks {fcfiledir} * fixes from review feedback * corrected hash for pkg-config.openbsd * re-added missing endif() * regenerate docs * Update scripts/cmake/vcpkg_configure_meson.cmake Co-authored-by: Nicole Mazzuca <mazzucan@outlook.com>
2020-11-18[vcpkg android] Fix for issue #11927 (#14625)Christophe Calmejane
Allow selection of Android SDK platform version from triplet file.
2020-10-30Add compiler executable name into toolchain file (#14269)Long Nguyen
2020-10-30[vcpkg] Support cross compile arm64-linux, arm-linux triplets on linux (#13374)xyb
x86_64 host.
2020-10-17[vcpkg] CMAKE_SYSTEM_PROCESSOR is missing if VCPKG_TARGET_ARCHITECTURE is ↵xyb
arm or arm64. (#13465) This change tries to fix issue #13395. Root cause: In script mode, cmake won't populate CMAKE_SYSTEM_PROCESSOR parameter automatically. That parameter is required by libpng to configure build parameters. To fix this issue, we need explicitly set CMAKE_SYSTEM_PROCESSOR value. Verify: On arm64-linux host, run `./vcpkg install tesseract:arm64-linux`.
2020-09-0311129: Add VCPKG_LINKER_FLAGS_<CONFIG>. (#11290)Paul
Co-authored-by: Nicole Mazzuca <mazzucan@outlook.com> Co-authored-by: JackBoosY <yuzaiyang@beyondsoft.com> Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
2020-08-07[vcpkg] Improving android support (#12634)Christophe Calmejane
* Fix for Android compilation See https://github.com/microsoft/vcpkg/issues/5809 * Allow for custom android triplets. Fallback to Xamarin installed NDK. * Increased Port-Version for boost-modular-build-helper * More restrictive matching pattern for android toolchain
2020-07-31Fix android toolchain so it correctly adds -fPIC flag (#12097)Jamie Kydd
(cherry picked from commit 497fe8ab805bcafd2cb2abd538db8783f897f9ad)
2020-07-13[vcpkg] Fix iOS toolchain detection when using the iOS community triplets ↵alcroito
(#12361) * [vcpkg ios] Fix detection of iOS toolchain (#6003) Added mapping of CMAKE_SYSTEM_NAME == iOS to the bundled iOS toolchain file. This fixes the "Unable to determine toolchain to use for triplet arm64-ios with CMAKE_SYSTEM_NAME iOS" error. * [vcpkg ios] Set the CMake system processor for the simulator arches (#6003) So it's consistent for all architectures.
2020-06-11[vcpkg] Add nologo to windows toolchain (#11146)Alexander Neumann
* add nologo to windows toolchain * bump control of one cmake port for ci testing * [scripts] add nologo to _DEBUG flags * revert version bump
2020-05-11[android] Link C++ runtime according to VCPKG_CRT_LINKAGE (#11266)huangqinjin
https://developer.android.com/ndk/guides/cpp-support
2020-05-07[vcpkg] Add Linux toolchain x86 support (#8588)zhbanito
Add compile option for x86 triplet target architecture Co-authored-by: wangli28 <wangli28@beyondsoft.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-26[vcpkg] Revert #9862 changes to fix crt check (#10562)Jack·Boos·Yu
2020-03-25use _INIT flags in windows toolchain just like in the other toolchains (#9862)Alexander Neumann
2020-03-13[vcpkg] set CMAKE_MSVC_RUNTIME_LIBRARY for cmake policy CMP0091 (#9452)Marc Boucek
Co-authored-by: Marc Boucek <marc.boucek@native-instruments.de>
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
2019-06-30[vcpkg_configure_cmake] Add NO_CHARSET_FLAG option (#7074)2019.06Victor Romero
* [vcpkg_configure_cmake] Add NO_CHARSET_FLAG option * [vcpkg_configure_cmake] Add documentation for new NO_CHARSET_FLAG option * [vcpkg_configure_cmake, windows toolchain] Handle NO_CHARSET_FLAG in toolchain * [build.cpp] Add Windows toolchain to package hash * [duilib,msix,thrift,tidy-html5] Use NO_CHARSET_FLAG to fix regressions
2019-06-14set CMAKE_SYSTEM_PROCESSOR in Linux (#6872)dan-shaw
* add vcpkg_target_architecture to vcpkg_configure_cmake * modify shogun and thrift * update glbinding
2019-04-03[Thrift] Updates 2019.03.29 (#5924)Phoebe
2018-12-17Support custom Android NDK, better ABI specification (#4986)Bradley Austin Davis
2018-12-12[vcpkg] Add support for muslc, static crt linkage, and forcing the system ↵Robert Schumacher
binaries for cmake and ninja
2018-12-04[vcpkg-toolchains] Use XYZ_INIT CMake variables for _significantly_ better ↵Robert Schumacher
integration [brynet] Add missing openssl dependency [discord-rpc] Ensure no external downloading [podofo] Improve stability. Modernize. [usrsctp] Disable Werror [vcpkg-toolchains] Add linux changes to android and freebsd. [usrsctp] Remove excess DLLs
2018-11-20Revert "WIP [vcpkg] Fix CMAKE_SYSTEM_PROCESSOR with UWP and Linux triplets ↵Robert Schumacher
(#4688)" This reverts commit 83af530a42011130b20a5080bbd298abaa77be59.
2018-11-20WIP [vcpkg] Fix CMAKE_SYSTEM_PROCESSOR with UWP and Linux triplets (#4688)Tsukasa Sugiura
* [vcpkg] Fix CMAKE_SYSTEM_PROCESSOR Add CMAKE_SYSTEM_PROCESSOR setting under UWP, Linux, and Darwin. If explicitly specified VCPKG_CMAKE_SYSTEM_PROCESSOR in triplet files, CMAKE_SYSTEM_PROCESSOR is set to specified architecture. * [vcpkg-toolchains] Move logic out of vcpkg_configure_cmake and into the toolchains.
2018-11-01[rocksdb] update to v5.15.10 (#4342)Koby Kahane
* [rocksdb] Update to v5.15.10 * [rocksdb] Cleanup * [rocksdb] Fix cmake targets name. * [toolchains] Set NDEBUG in release * [rocksdb] Disable vcpkg_test_cmake due to misbehavior in x64 * [tiff] Use lzma on linux
2018-10-23Create macOS configuration variables for triplets (#4477)LRFLEW
* Create macOS configuration variables for triplets * Add new macOS configuration variables to documentation * [vcpkg-configure-cmake] Fix typo
2018-10-10Add definitions for CMAKE_SYSTEM_VERSION and CMAKE_SYSTEM_PROCESSOR to osx ↵LRFLEW
toolchain (#4441)
2018-07-17[vcpkg] Use -fPIC in all builds to enable mixing static libs with shared ↵Robert Schumacher
objects.
2018-07-03Make locating the Android NDK configurable (#3754)Simon Hausmann
Prefer an environment variable and fall back to the previous path if not set.
2018-05-30Fix toolchain for linuxAlexander Karatarakis
2018-05-16[openexr] Fix linux buildArkady Shapkin
2018-04-10[vcpkg] Always use -c65001 for the resource compiler on windows. Fixes #3221.Robert Schumacher
2018-04-10[vcpkg] Don't pass /utf-8 to VS 2013Robert Schumacher
2018-03-13[vcpkg] Improve non-Windows default triplet detectionRobert Schumacher
2018-03-11[vcpkg] Don't set CMAKE_CROSSCOMPILING when targetting Linux-on-LinuxRobert Schumacher
2018-03-11[vcpkg] Improve defaults for other platformsRobert Schumacher
2018-03-11[vcpkg] Improve handling of external toolchains. Extract MSVC settings to a ↵Robert Schumacher
separate toolchain file.