Robert Schumacher
2bd1faf359
[vcpkg-tool] Publish release 2021-02-24-d67989bce1043b98092ac45996a8230a059a2d7e ( #16400 )
...
* [vcpkg-tool] Publish release 2021-02-24-d67989bce1043b98092ac45996a8230a059a2d7e
* Update bootstrap.sh
2021-02-26 12:06:44 -08:00
Billy O'Neal
aa60b7efa5
[vcpkg] Download vcpkg.exe rather than building it in bootstrap on Windows. ( #15474 )
...
This reduces bootstrap cost for Windows customers, resolving the issue initially submitted as #12502 .
The `toolsrc` tree was extracted to https://github.com/microsoft/vcpkg-tool . `bootstrap.sh` was changed to download the right source tarball, extract, and build it. This was chosen over the previous attempt, a submodule, over concerns of accidentally destroying people's local modifications.
2021-02-04 10:15:44 -08:00
Billy O'Neal
4d136ef25f
[vcpkg] Add vcpkg_minimum_required as a replacement for VERSION.txt. ( #15638 )
2021-01-20 12:07:41 -08:00
Billy O'Neal
8414e15973
[vcpkg] Use a tag file rather than conditional compilation to permanently disable metrics. ( #15470 )
2021-01-13 14:06:06 -08:00
Billy O'Neal
d1ef42c0fd
[vcpkg] Restore embedded git hash behind an option. ( #15472 )
2021-01-07 12:51:46 -08:00
Billy O'Neal
6b97dbfce2
[vcpkg] Merge the vcpkg metadata uploader into the vcpkg binary ( #13421 )
2020-09-11 13:52:18 -07:00
nicole mazzuca
40c8aab459
[vcpkg] Fix vs2015 build ( #12789 )
...
* move windows bootstrap directory
* fix paths
* actually fix the build
* fix path
2020-08-06 17:04:47 -07:00
Phoebe
bd2dbb2ce5
[vcpkg] Update message in bootstrap.ps1 ( #12145 )
...
* [vcpkg] Update message in bootstrap.ps1
* Update docs/users/integration.md
2020-07-01 16:58:04 -07:00
Billy O'Neal
532db1d8f7
[vcpkg] VM Update ( #12176 )
...
* [qt5] Add more dependent Linux packages for https://github.com/microsoft/vcpkg/pull/11596/
* [vcpkg] Add LLVM 10 to Windows CI machines for https://github.com/microsoft/vcpkg/pull/11655/
* [vcpkg] Add missing Param block to InstallLLVM function.
* [vcpkg] Add throw after all Write-Error calls for consistency with https://github.com/microsoft/vcpkg/pull/12172
2020-07-01 10:53:10 -07:00
nicole mazzuca
09319cd79e
[vcpkg metrics] Allow someone to opt out after build ( #11542 )
...
* [vcpkg metrics] start using json library
Additionally, add floats to the JSON library since they're required.
* [vcpkg metrics] allow users to disable metrics after the build
Additionally, as a drive by, fix UUID generation
* fix metrics data
* code review
2020-05-29 14:09:03 -07:00
Markus Rickert
47e9a1d1c1
[vcpkg] msbuild: do not build vcpkgmetricsuploader when -disableMetrics ( #11368 )
2020-05-18 11:05:23 -07:00
Victor Romero
2523a19f70
Omit telemetry message when bootstrapping with -disableMetrics
( #10061 )
...
* Don't show telemetry message when passing --disableMetrics to bootstrap.sh
* Don't show telemetry message when passing -disableMetrics to bootstrap-vcpkg.bat
2020-02-13 18:12:12 -08:00
dan-shaw
0a0440c1a8
update telemetry
2019-11-22 15:07:00 -08:00
dan-shaw
552296a741
[vcpkg] update telemetry
2019-11-14 13:12:36 -08:00
TheGoddessInari
0872eebe34
( #8013 ) [vcpkg] Compatibility with pwsh >= 6.2
...
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-09-06 16:16:15 -07:00
TheGoddessInari
8cd2d17460
[vcpkg] Bootstrap should use Get-CimInstance instead of Get-WmiObject. ( #6788 )
...
* [vcpkg] Bootstrap should use Get-CimInstance instead of Get-WmiObject.
This lets it work with Powershell Core 6.0.
2019-06-16 23:09:07 -07:00
ccorn
b0b895bff6
Bootstrap: Refining PreferredToolArchitecture ( #6398 )
...
* Patch to enable bootstrap on Win32
* [bootstrap-vcpkg] Test OS version to set PreferredToolArchitecture
2019-05-20 15:48:59 -07:00
soroshsabz
2140d3c5eb
[bootstrap.ps1] Fixed some possible incorrect comparison with null warnings. ( #5343 )
...
* Fixed some possible incorrect comparison with null warnings.
* Correct bad indentation.
* Removed extra space.
2019-02-22 10:47:48 -08:00
Robert Schumacher
fd56ffcf5c
[vcpkg] Enable bootstrapping with VS2019
2019-01-30 14:27:10 -08:00
Berrysoft
13d1231ad4
Adapt bootstrap to VS 2019 Preview ( #4922 )
2018-12-11 00:31:44 -08:00
Alexander Karatarakis
a589f9f9ed
[bootstrap.ps1] Remove unneeded Out-Null
2018-11-01 01:36:51 -07:00
Alexander Karatarakis
9cd5f5be00
[bootstrap.ps1] Cleanup intermediate files after build
2018-11-01 01:36:37 -07:00
Alexander Karatarakis
5a1a75d2d6
[vcxproj] Explicitly specify intermediate and output directories
...
Avoids case-sensitivity issues, flattens the layout, no Win32 but x86 instead
Issue #4586
2018-11-01 01:26:31 -07:00
Alexander Karatarakis
e8371c179d
[bootstrap.ps1] Prefer 64bit toolset
2018-10-04 16:39:57 -07:00
Zepp
3a1e0f7f68
compatible with non-English version of Windows ( #3866 )
2018-07-08 20:57:51 -07:00
MikeGitb
b81090e250
Fix misspelled configuration name ( #3786 )
2018-07-03 01:18:02 -07:00
Alexander Karatarakis
4a4215c2e5
Win7 compat. Fail if 64-bit requested on 32-bit machine
2018-06-13 11:54:33 -07:00
Alexander Karatarakis
e7721cde19
[bootstrap.ps1] Add option for building 64-bit vcpkg.exe
2018-06-13 11:21:12 -07:00
Alexander Karatarakis
56cc9ac15c
Make bootstrap.bat parameters match bootstrap.sh
2018-06-12 17:13:17 -07:00
Alexander Karatarakis
9750fff027
[bootstrap] Add option to specify WinSDK
2018-06-08 13:32:21 -07:00
Alexander Karatarakis
a925843121
Remove debug line
2018-06-04 12:35:42 -07:00
Alexander Karatarakis
edfca67857
"Release"->"release" to avoid case-sensitivity issues
...
Fixes #3641
2018-06-04 12:34:19 -07:00
Alexander Karatarakis
7932abed8d
[ps1] Move variable close to where it is set
2018-05-19 19:38:45 -07:00
Alexander Karatarakis
6ccd43dfa7
Rename ps1 file
2018-05-19 19:23:33 -07:00
Alexander Karatarakis
f1653a23d5
Inline variable
2018-05-19 19:23:33 -07:00
Alexander Karatarakis
bc96c069ac
[bootstrap.ps1] Remove unneeded <sol> <eol>
...
it was used for communication with vcpkg
2018-05-19 19:23:33 -07:00
Alexander Karatarakis
a739df905c
Merge VcpkgPowershellUtils into bootstrap.ps1
2018-05-19 19:23:32 -07:00
Alexander Karatarakis
555fa8d7cc
Merge getVisualStudioInstances into bootstrap.ps1
2018-05-19 19:23:32 -07:00
Alexander Karatarakis
9e4196d495
Merge getWindowsSDK into bootstrap.ps1
2018-05-19 19:23:32 -07:00
Alexander Karatarakis
8347101e63
[ps1] Add missing "include"
2018-05-16 14:51:51 -07:00
Alexander Karatarakis
1b0682a39e
[vcpkg] Significantly reduce usage of powershell. Reduce console font switching bug
2018-05-15 23:27:14 -07:00
Alexander Karatarakis
2d2ff28c77
[bootstrap] Set-StrictMode to latest
2018-02-28 18:45:33 -08:00
Alexander Karatarakis
f3463c4867
[bootstrap] Fix reference to xml file
2018-02-28 18:45:33 -08:00
Alexander Karatarakis
4077678583
Rename "depenencies" to tools. Rework xml file to reduce fields.
2018-02-23 18:19:04 -08:00
Alexander Karatarakis
f0cee21f7a
[vcpkgDependencies.xml] Reuse in bootstrap
2018-02-23 18:19:04 -08:00
Alexander Karatarakis
8a4afe1619
Update git to 2.16.2
2018-02-20 18:09:51 -08:00
Alexander Karatarakis
815e3caf55
Merge findFileRecursivelyUp into VcpkgPowershellUtils
2018-02-07 17:31:30 -08:00
Alexander Karatarakis
186a2cf88b
[bootstrap] Fix whitespace issue
2018-01-25 17:03:37 -08:00
Alexander Karatarakis
6e07cbeff4
[bootstrap] Specify full path for dirs.proj
2018-01-25 16:48:32 -08:00
Alexander Karatarakis
edcc8e2c36
[bootstrap] Exit fast(er) if msbuild fails
2018-01-25 14:57:53 -08:00
Alexander Karatarakis
a8a20f1a13
VcpkgInvokeCommand: remove paramter $wait
2018-01-25 14:46:00 -08:00
Alexander Karatarakis
0df743d625
[bootstrap] Build vcpkg in a clean environment
2018-01-23 14:16:06 -08:00
Alexander Karatarakis
a5fe308ea3
$script:MyInvocation.MyCommand.Definition
...
It works also in cases where scripts/functions are calling each other.
Without the $script prefix, it would instead give you the calling function OR the path if there was no parent function.
With the prefix, it always yields the directory of the script
2018-01-23 14:16:06 -08:00
Alexander Karatarakis
ae582e0d4f
[bootstrap] Extract arguments in variable
2018-01-23 14:16:05 -08:00
Alexander Karatarakis
fdf7c65aa4
Exit early if no VS is found
2017-11-30 16:43:59 -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
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
0796a9df0e
[git] Update to 2.14.3 (was 2.14.2.3)
2017-10-27 19:03:26 -07: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
38233af9a2
Look for 'git' instead of 'git.exe'. Resolves #820
2017-03-20 16:58:08 -07:00
Alexander Karatarakis
a2cebceafe
Rename findTargetPlatformVersion to getWindowsSDK
2017-02-21 17:45:08 -08:00
Alexander Karatarakis
b6b69025c3
bootstrap.ps1 now detects the available Windows SDKs
2017-02-08 22:29:29 -08:00
Robert Schumacher
d04e78815a
[vcpkg] Do not build tests when running scripts\bootstrap.ps1.
2017-01-25 15:05:51 -08:00
Alexander Karatarakis
58aeb68442
[VS2017] Enable building vcpkg itself with VS2017
2017-01-23 12:54:33 -08:00
Alexander Karatarakis
a65f4c3c0b
[bootstrap] Use "unknownhash" if git is not available. Resolves #305
2016-11-21 18:10:21 -08:00
Alexander Karatarakis
b9a0cee78d
Powershell scripts now detect the root dir via the .vcpkg-root file
2016-09-19 18:52:17 -07:00
Alexander Karatarakis
edb8b44b13
[bootstrap.ps1] Use older-powershell-friendly way to determine path
2016-09-19 13:59:32 -07:00
Alexander Karatarakis
ccca198c1b
Initial commit
2016-09-18 20:54:03 -07:00