Commit Graph

539 Commits

Author SHA1 Message Date
Robert Schumacher
4567fa5709 [vcpkg-cmake-toolchain] Mark _VCPKG_ROOT_DIR as INTERNAL 2017-12-09 17:25:12 -08:00
cDc
19860a0933 [tinyexif] add TinyEXIF library (#2221) 2017-12-09 00:24:19 -08:00
Robert Schumacher
3c2b2cc607 [vcpkg-cmake-toolchain]
Use list(APPEND) instead of set(). Fixes #2336.
Fix MPI issue introduced in cmake 3.10. Fixes #2317.
Add _VCPKG_ROOT_DIR to persisted variables to reduce disk access during cmake reconfigure.
2017-12-08 22:08:19 -08:00
Alexander Karatarakis
1f3013bea3 Improve vcpkgExtractFile. Also merge vcpkgRemoveDirectory/File 2017-12-08 15:16:35 -08:00
Ilya Finkelshteyn
e7cbb50f3d Fix path to powershell.exe
https://github.com/Microsoft/vcpkg/issues/2299
2017-12-05 15:22:21 -08:00
Robert Schumacher
a4f8515c9e [vcpkg-msbuild-integration] Address #2299 by using full path to powershell. 2017-12-05 15:22:21 -08:00
Alexander Karatarakis
d26a6b067c Add vcpkg integrate powershell for tab completion 2017-12-04 15:37:06 -08:00
Alexander Karatarakis
fdf7c65aa4 Exit early if no VS is found 2017-11-30 16:43:59 -08:00
Robert Schumacher
d38d4a7540 [vcpkg] Add --x-xunit internal command to print installation results in a VSTS friendly format. 2017-11-30 08:09:09 -08:00
Robert Schumacher
b4668e664a [vcpkg] Only default target triplet to windows if on windows 2017-11-28 13:17:10 -08:00
Alexander Karatarakis
b7c9ef5553 Don't return $destinationDir 2017-11-27 00:45:00 -08:00
Alexander Karatarakis
2c914ff05a Rework vcpkgExtractFile (powershell) 2017-11-27 00:42:39 -08:00
Alexander Karatarakis
c4c079f86e [VcpkgPowershellUtils] Minor tweaks 2017-11-27 00:42:39 -08:00
Mikhail Paulyshka
e009618ba0 [cmake] update to 3.10.0 (#2236) 2017-11-26 03:18:35 -08:00
Alexander Karatarakis
92872439b9 [fetchDependency[ Make parameter mandatory 2017-11-26 01:32:09 -08:00
Alexander Karatarakis
8883e40aaa vcpkgCreateDirectory->vcpkgCreateDirectoryIfNotExists 2017-11-26 01:31:58 -08:00
Robert Schumacher
14cbe496bc [vcpkg] Allow compilation inside WSL 2017-11-25 16:21:54 -08:00
Robert Schumacher
5335d17f53 [vcpkg] Initial experimental support for VCPKG_BUILD_TYPE release 2017-11-25 15:25:18 -08:00
Robert Schumacher
a3ea74b9ed
Merge pull request #2250 from AndyM84/master
Adding UnitTest++ Port
2017-11-25 12:48:07 -08:00
Robert Schumacher
89983fe102 [vcpkg-from-github] Improve argument handling 2017-11-25 12:47:49 -08:00
Robert Schumacher
141f10801c [vcpkg] Improve external toolchain handling. 2017-11-25 11:50:31 -08:00
Robert Schumacher
f7c10858f7
Merge pull request #1752 from martin-s/patch-vs2013
Added support for VS2013 build chain tools.
2017-11-21 21:47:51 -08:00
Robert Schumacher
eec26f68fc [qt5] Reduce duplication in modular build by extracting qt5modularscripts 2017-11-20 17:07:03 -08:00
Frank Quinn
7fc2d7dbdf Added SCONS to vcpkg_find_acquire_program
See: http://scons.org

I have a port I would like to submit which uses scons (which in
turn uses the python interpreter already provided). This change
makes SCONS usable for vcpkg_execute_required_process.
2017-11-19 11:42:52 +00:00
Alexander Karatarakis
6290155eaa [vcpkgExtractFile] Fix partial dir name. Special case 1-item zips
- If the zip contains a single item, pull that up a directory
- If the zip contains multiple items, place that in a directory on of the same name as the zip
2017-11-17 01:23:14 -08:00
Robert Schumacher
875bb9a661 Merge branch 'qt5_modular' of https://github.com/Barath-Kannan/vcpkg into Barath-Kannan-qt5_modular 2017-11-17 00:22:15 -08:00
Alexander Karatarakis
b2e1dc3e5a Use temp-and-rename pattern for extracting 2017-11-16 02:02:00 -08:00
Alexander Karatarakis
2abdcc1eec Introduce VcpkgPowershellUtils 2017-11-15 22:37:24 -08:00
Robert Schumacher
7e3dcc4f09 [tesseract] Fix static linking. [icu][tiff] Add patches in toolchain to fix static linking. 2017-11-15 21:58:26 -08:00
Robert Schumacher
4228e1e389 [llvm] Install debug targets for cmake 2017-11-15 21:15:37 -08:00
Robert Schumacher
24283ec1ee [leptonica][tiff] Add LZMA to tiff's dependent libraries. Leptonica should use TIFF_LIBRARIES. 2017-11-15 18:57:05 -08:00
Robert Schumacher
415789b42e [vcpkg-metrics] Replace SQM with MAC hash. 2017-11-13 21:49:11 -08:00
Robert Schumacher
50f6bc4e8f [vcpkg-toolchain] Fix find_package detection of Boost. Fixes #2130. 2017-11-10 17:34:00 -08:00
Alexander Karatarakis
cd41cfe468 Use Push-Location/Pop-Location instead of pushd/popd 2017-11-09 21:42:36 -08:00
Alexander Karatarakis
7eb0095094 Rename $explicitlyRequestedVSPath to $withVSPath 2017-11-09 21:41:16 -08:00
Alexander Karatarakis
615f7e112f [bootstrap.ps1] Add option to specify VS path 2017-11-09 20:09:22 -08:00
Alexander Karatarakis
eabacf0d14 Make parameter mandatory 2017-11-09 20:09:22 -08:00
Alexander Karatarakis
138bce34f2 Fix SHA-256 name 2017-11-09 20:09:22 -08:00
Robert Schumacher
2ece3186ff [vcpkg-build-msbuild] Update examples. 2017-11-08 10:41:03 -08:00
Robert Schumacher
d43676658a [vcpkg_from_github] Handle '/' in REFs. Fixes #2141. 2017-11-07 09:10:19 -08:00
Robert Schumacher
5743b68bc2
Merge pull request #2139 from UnaNancyOwen/fix_buildsystems
Reset settings to find boost libraries
2017-11-06 09:49:13 -08:00
Alexander Karatarakis
4bd9ad6969 [Get-(File)Hash] Use namespaces and add Pscx check 2017-11-05 18:10:48 -08:00
Alexander Karatarakis
524adf93aa [Expand-Archive] Use namespaces to distringuish Powershell 5's and PSCX's 2017-11-05 17:58:47 -08:00
Tsukasa Sugiura
07e4e674f0 Reset settings to find boost libraries
Reset the settings to find the boost libraries that installed by vcpkg.
vcpkg will always rename to Boost libraries name that able to be find
with default settings of FindBoost.cmake.
2017-11-06 04:33:35 +09:00
martin-s
d5a7da6bcb Merge branch 'master' of https://github.com/Microsoft/vcpkg into patch-vs2013
# Conflicts:
#	scripts/cmake/vcpkg_configure_cmake.cmake
#	toolsrc/src/vcpkg/vcpkgpaths.cpp
2017-11-05 19:13:16 +01:00
Barath Kannan
b959f70a99 merge from master 2017-11-06 00:33:04 +11:00
Barath Kannan
3a5b383bbe resolve conflict on non-existant vcpkg_acquire_depot_tools 2017-11-06 00:31:24 +11:00
Barath Kannan
9bb4817e32 use install target in Makefiles; make all portfile uniform 2017-11-06 00:24:29 +11:00
Robert Schumacher
330b8d8bab [vcpkg-msbuild-integration] Output warning when configuration is not determinable. Add special cases for RelWithDebInfo and MinSizeRel. 2017-11-04 20:48:06 -07:00
Alexander Karatarakis
3b90bc07ce [cmake] Update to 3.9.5 (was 3.9.4) 2017-11-03 18:25:54 -07:00
Alexander Karatarakis
ad884fc296 [vswhere] Update to 2.2.11 (was 2.2.7) 2017-11-03 16:40:28 -07:00
Alexander Karatarakis
a4dc2d2ef2 [fetchDependency.ps1] Improve error message on hash mismatch 2017-11-03 16:39:43 -07:00
Alexander Karatarakis
9dc02f48b6 [fetchDependendy.ps1] Remove obsolete comment 2017-11-03 16:35:15 -07:00
Alexander Karatarakis
82ce87cfd0 Use download-at-temp-and-rename pattern in powershell too 2017-11-03 16:14:13 -07:00
Alexander Karatarakis
0fb0191f3c [ports.cmake] Use vcpkg_download_distfile() 2017-11-03 15:02:53 -07:00
Alexander Karatarakis
a523aacff8 [vcpkg_from_bitbucket] Use vcpkg_download_distfile() 2017-11-03 15:02:53 -07:00
Alexander Karatarakis
8bbd043bea vcpkg_from_github] Use vcpkg_download_distfile() 2017-11-03 15:02:53 -07:00
Alexander Karatarakis
76d4666f12 [vcpkg_acquire_msys] Use vcpkg_download_distfile() 2017-11-03 15:02:53 -07:00
Alexander Karatarakis
dc7db25713 [downloads] Don't show progress by default 2017-11-03 15:02:52 -07:00
Alexander Karatarakis
ebb52b8cb1 Remove vcpkg_acquire_depot_tools 2017-11-03 15:02:52 -07:00
Alexander Karatarakis
9150cb8a90 [vcpkg_find_acquire_program] Use vcpkg_download_distfile() 2017-11-03 15:02:52 -07:00
Alexander Karatarakis
24c3f87bf4 [vcpkg_download_distfile] Now downloads in a temp dir and rename to the target location 2017-11-03 15:02:52 -07:00
Robert Schumacher
b54f4f26ae [blaze] Fix remaining stray _INVALID_ROOT_ 2017-11-01 11:42:09 -07:00
James Chang
4ff90ec430 [poco] build with MySQL support (#2088)
* [poco] build with MySQL support

Set proper variables to enable MySQL support if libmysql port is installed

* [poco] Move Mysql support to a feature. Enable CMake config files.
2017-11-01 01:27:12 -07:00
Robert Schumacher
516c42bdc4 [bootstrap-vcpkg] Added better diagnostics in case of MSBuild failure. 2017-10-31 23:41:24 -07:00
Alexander Karatarakis
a5b54588ec [git] Update to 2.15.0 (was 2.14.3) 2017-10-31 17:31:10 -07:00
Alexander Karatarakis
47bf4b6b5c [fetchDependency] Now also returns output in the form <sol>data<eol> 2017-10-31 17:31:10 -07:00
Alexander Karatarakis
7d0bcceaf0 [findVSInstances] Data lines are now placed within <sol><eol> tags. Text outside these tags is ignored
This means we can print text in powershell now and it won't break vcpkg.
2017-10-31 17:31:10 -07:00
Alexander Karatarakis
eb7e1e481b Fix proxy usage in Win7 (powershell 2.0) 2017-10-31 17:31:10 -07:00
Alexander Karatarakis
0796a9df0e [git] Update to 2.14.3 (was 2.14.2.3) 2017-10-27 19:03:26 -07:00
Alexander Karatarakis
83c29df043 [fetchDependency] Fix compat with Powershell 2 2017-10-27 15:16:46 -07:00
Robert Schumacher
4b66571c9d [blaze] Add dependencies and install *-config.cmake files. 2017-10-26 22:35:06 -07:00
Robert Schumacher
73571b8eb7 Merge pull request #2034 from seanwarren/trim-sdk-version-string
Remove non-numeric characters from Windows SDK version string
2017-10-25 16:54:44 -07:00
Alexander Karatarakis
aec9215800 [InternalCI.ps1] Fix error when buildtrees/ does not exist 2017-10-24 17:08:24 -07:00
Robert Schumacher
90a3a8a3af Merge pull request #1972 from jasjuang/cgal
new port: cgal
2017-10-23 13:05:58 -07:00
Sean Warren
2a61710326 Remove non-numeric characters from Windows SDK version string
See issue #1836, #2019
2017-10-23 11:01:40 +11:00
Alexander Karatarakis
50ae9eec87 Do not depend on newlines when getting output from powershell 2017-10-19 19:57:58 -07:00
Robert Schumacher
f527812e9e [grpc] Fix absolute paths in installed cmake files. 2017-10-19 08:53:59 -07:00
bahaki386
11fdd415dd Update Meson to 0.43.0
Upedate Meson to 0.43.0.
It will fix Issue #2006.
2017-10-18 19:38:25 +09:00
Alexander Karatarakis
e9ba8b0ecb [nuget] Update to 4.4.0 (was 4.3.0) 2017-10-17 14:19:48 -07:00
Alexander Karatarakis
508c21a6f8 [vswhere] Update to 2.2.7 (was 2.2.3) 2017-10-17 14:08:30 -07:00
Alexander Karatarakis
fa4e54a373 [git] Update to 2.14.2.3 (was 2.14.1) 2017-10-17 14:05:55 -07:00
Alexander Karatarakis
ffd91c0c1d [fetchDependency] Call Get-FileHash if available, otherwise fallback 2017-10-17 13:58:36 -07:00
Alexander Karatarakis
d6d5540cc5 [fetchDependency] Call Start-BitsTransfer if available, otherwise fallback 2017-10-17 13:54:41 -07:00
Alexander Karatarakis
451c1c96be [fetchDependency] Use Test-Module for BitsTransfer module check 2017-10-17 13:42:58 -07:00
Alexander Karatarakis
7fac8a06c0 [fetchDependency] Add Test-Module function 2017-10-17 13:40:01 -07:00
Alexander Karatarakis
147cde8bfd [fetchDependency] Use Expand-Archive if it exists, otherwise fallback to cmd 2017-10-17 13:23:22 -07:00
Alexander Karatarakis
edb718e21b [fetchDependency] Introduce Test-Command function 2017-10-17 13:22:17 -07:00
Alexander Karatarakis
87296823ac [cmake] Update to 3.9.4 (was 3.9.3) 2017-10-17 12:43:08 -07:00
Barath Kannan
48128e5b4d Merge branch 'master' of https://github.com/Microsoft/vcpkg into qt5_modular 2017-10-17 20:25:12 +11:00
Barath Kannan
62b62d9f35 minor clean up and configuration 2017-10-17 20:02:26 +11:00
Alexander Karatarakis
0051e7477b [findVS] Add detection for VS2015 Build Tools 2017-10-16 17:04:55 -07:00
Alexander Karatarakis
e8f64049cf Fix getWindowsSDK.ps1 error when $path is $null 2017-10-16 17:02:59 -07:00
Alexander Karatarakis
374253cb1b [ninja] Update to 1.8.2 2017-10-16 16:23:10 -07:00
Robert Schumacher
81613fa0ff [vcpkg-toolchain] Improvements; add VCPKG_CHAINLOAD_TOOLCHAIN_FILE 2017-10-16 11:22:21 -07:00
Barath Kannan
c147fc78c9 further fixes 2017-10-17 03:15:30 +11:00
Barath Kannan
d28de4a13e qt5winextras 2017-10-16 23:56:47 +11:00
Barath Kannan
3ba22c1754 working qt tools build 2017-10-16 23:04:16 +11:00
Barath Kannan
459ac9f2e1 qt5tools package 2017-10-16 00:40:25 +11:00
martin-s
9c2fa042ee Merge branch 'master' of https://github.com/Microsoft/vcpkg into patch-vs2013
# Conflicts:
#	toolsrc/include/vcpkg/vcpkgpaths.h
#	toolsrc/src/vcpkg/vcpkgpaths.cpp
2017-10-15 02:00:19 +02:00
Robert Schumacher
fc1a24ad8b [vcpkg] Initial commit of powershell integration 2017-10-14 01:45:28 -07:00
jasjuang
4ce8f0aa31 new port: cgal 2017-10-13 21:25:18 -07:00
Robert Schumacher
53ad140251 [vcpkg-scripts] Hotpatch revert changes to vcpkg_find_acquire_program.cmake. 2017-10-12 11:54:47 -07:00
Robert Schumacher
df9eda4fff Merge pull request #1870 from Mixaill/arm64
[vcpkg] ARM64 support
2017-10-12 11:03:47 -07:00
Robert Schumacher
94ec090235 Merge pull request #1920 from frederich/Bug_1130
Get proxy credentials behind web proxy
2017-10-12 10:54:20 -07:00
Robert Schumacher
9ddc98988f [vcpkg-scripts] Detect and prompt for proxy in more cases 2017-10-12 10:52:00 -07:00
Robert Schumacher
5c66f301b9 [vcpkg-scripts] Remove double expansions 2017-10-12 08:22:50 -07:00
Mikhail Paulyshka
00d89dbd66 vcpkg: initial ARM64 support 2017-10-12 12:02:14 +03:00
Alexander Karatarakis
b6512bace1 [vswhere.exe] Update to vesrion 2.2.3 (was 2.1.4) 2017-10-09 16:42:40 -07:00
Alexander Karatarakis
ab7a1abc93 [VS detection] Add -products * flag to vswhere. This includes Express and BuildTools SKUs 2017-10-09 16:42:40 -07:00
Alexander Karatarakis
cd4142d3ca Bump version of nuget to 4.3.0 (was 4.1.0) 2017-10-06 14:06:02 -07:00
Alexander Karatarakis
f0f25b1cb7 Remove unused variable 2017-10-06 02:04:04 -07:00
Alexander Karatarakis
5e3d3fb8b4 Merge pull request #1934 from nerdile/dev/nerdile/fix-bootstrap-win10sdk-detection
Fix Win10SDK detection during Bootstrap
2017-10-06 02:02:24 -07:00
Robert Schumacher
cf7762a82e [vcpkg-internal-ci] Remove chakracore due to dependency on cor.h 2017-10-06 00:49:41 -07:00
Alexander Karatarakis
e3527b23ea Don't assume VS2015 is in C:\Program Files (x86)\ 2017-10-05 22:44:49 -07:00
Daniel Strommen
0643bd6581 Fix Win10SDK detection during Bootstrap
When multiple Win10 SDK's are installed, like Insider previews,
depending on the SDK installation, it may not contain the um headers.
There is already a loop for trying to find the newest Win10 SDK
that has full headers, but it's returning at the first failure,
rather than continuing the loop to the next iteration.

Also, use Join-Path instead of manual path appending, to normalize
the extra \ at the end of the sdk root value.  In some cases paths
with double backslashes can be interpreted as a fallback syntax for
UNC paths.  Join-Path normalizes the path appropriately.
2017-10-05 19:47:41 -07:00
Alexander Karatarakis
f0c23aeb6b Completely rework Visual Studio detection
- Now using vswhere.exe to detect all VS instance (2015 + 2017)
- Default version preference order is now: stable, prerelease, legacy
- Within each preference weight, the latest one is chosen
- findVisualStudioInstallationInstances.ps1 now has a parameter to choose VS instance
2017-10-05 18:29:34 -07:00
Alexander Karatarakis
eca5a8b8d4 Add vswhere in fetchDependency.ps1 2017-10-05 18:27:07 -07:00
Alexander Karatarakis
9a963f7eff Overhaul VS selection. Add triplet option to specify VS instance 2017-10-05 18:27:07 -07:00
Robert Schumacher
68a9876682 Merge pull request #1931 from podsvirov/vcpkg-export-ifw
[vcpkg-export-ifw] Maintenance Tool
2017-10-05 18:14:57 -07:00
Robert Schumacher
74bab196c9 Merge pull request #1873 from glachancecmaisonneuve/buildinstallcmakescriptsfix
Fix for BUILD_ARGS being always added in non ninja build (vcpkg_build_cmake,vcpkg_install_cmake)
2017-10-05 17:52:15 -07:00
Robert Schumacher
2c9ee072da [vcpkg_build_cmake] Refactor _build_ and _install_ into a single cmake script.
Regenerate documentation. Remove MSVC_64_TOOLSET option because it's obsolete.
2017-10-05 17:49:28 -07:00
Konstantin Podsvirov
6f763c5ca8 [vcpkg-export-ifw] Maintenance Tool
Install maintenance tool and create Start menu shortcuts
to manage, update and uninstall packages.
2017-10-05 21:24:32 +03:00
Robert Schumacher
a34b6ee16e Merge branch 'export-ifw' of https://github.com/podsvirov/vcpkg into podsvirov-export-ifw 2017-10-04 14:14:58 -07:00
Jens Frederich
0ba3c166d7 Get proxy credentials behind web proxy 2017-10-04 08:19:57 +02:00
Robert Schumacher
433c505e32 [vcpkg] Revert attempt to build vcpkg.exe with VS2013 2017-10-03 15:58:10 -07:00
Robert Schumacher
d5705e87c4 Merge branch 'master' into martin-s-patch-vs2013 2017-10-03 15:52:29 -07:00
Robert Schumacher
4440ae36b5 Merge pull request #1904 from UnaNancyOwen/add_wix
Add Dark support
2017-10-02 10:23:22 -07:00
Robert Schumacher
4f27ff859f Merge pull request #1829 from glachancecmaisonneuve/find_acquire_python2
find_acquire_program (python2)
2017-10-02 10:17:20 -07:00
Tsukasa Sugiura
58418e7373 Add Dark support
Add Dark support to vcpkg_find_acquire_program().
2017-10-03 00:55:54 +09:00
Konstantin Podsvirov
c6149fae2f [vcpkg-export-ifw] Usage QtIFW tools
Download and use tools to make repository and installer
2017-09-28 00:21:26 +03:00
glachancecmaisonneuve
06798b6528 Fix for BUILD_ARGS being always added in non ninja build 2017-09-25 13:05:32 -04:00
Alexander Karatarakis
548b7f6919 Bump required version of CMake to 3.9.3
3.9.3 contains this interesting change:
FindBoost: Add support for Boost 1.65.0 and 1.65.1 to CMake 3.9
2017-09-22 14:21:37 -07:00
Alexander Karatarakis
39a96fc2f4 Bump required version of CMake to 3.9.2 2017-09-19 12:54:48 -07:00
glachancecmaisonneuve
cbc3050b44 find_acquire_program fix for python2
python2 version bump
2017-09-17 02:33:44 -04:00
Jared Szechy
e915ab0466 Update to latest python 3.5 patch 2017-09-12 20:13:34 -04:00
Alexander Karatarakis
26516fe485 vcpkg_configure_cmake (and _meson) now embed debug symbols within static libs (/Z7) 2017-09-09 00:12:54 -07:00
Alexander Karatarakis
6d0f750646 Merge pull request #1731 from FabienPean/PR/script_cmake_vcpkg_from_bitbucket
[cmake] add function vcpkg_from_bitbucket
2017-09-08 11:39:14 -07:00
martin-s
c167c70c27 - Added support for VS2013 build chain tools. 2017-09-02 16:48:29 +02:00
Robert Schumacher
e45012d3a6 Merge pull request #1639 from paercebal/enable_tolerant_config
Enable tolerance for similar configurations
2017-08-30 20:56:39 -07:00
Fabien Péan
97b04a0b95 Add CMake function vcpkg_from_bitbucket 2017-08-30 00:12:45 +02:00
Robert Schumacher
b21bc7c11a [vcpkg] Don't use -ListImported in bootstrap. Fixes #1711 2017-08-28 17:33:03 -07:00
Robert Schumacher
7a2a237e13 [vcpkg] Don't leak changes to the path in bootstrap 2017-08-25 23:25:41 -07:00
Robert Schumacher
3f88832110 [vcpkg] Add commit date to vcpkg version 2017-08-25 23:20:57 -07:00
Alexander Karatarakis
e4eee15ef9 Fix vcpkg_acquire_msys 2017-08-22 13:41:32 -07:00
Alexander Karatarakis
bd7cd7f56d Add explanation for not printing in fetchDependency.ps1 2017-08-16 13:11:50 -07:00
Alexander Karatarakis
400010c667 fetchDependency.ps1: Don't print the Downloading message... 2017-08-15 19:29:03 -07:00
Alexander Karatarakis
f4d11d7c9e Remove download prompts for cmake/git
The prompts were causing a lot of issues for users and especially CI builds
2017-08-15 14:41:23 -07:00
paercebal
f1c6b5cd4b Enable tolerance for similar configurations 2017-08-12 10:57:56 +02:00
Alexander Karatarakis
8a0a99b62a Update required/downloaded git to 2.14.1 2017-08-11 15:40:06 -07:00