Commit Graph

64 Commits

Author SHA1 Message Date
Billy O'Neal
cf7e2f3906 Allow redirection of the downloads folder with an environment variable. (#4883)
* Add detection for VCPKG_DOWNLOADS environment variable in vcpkgpaths.cpp.

* Pass the downloads directory from VcpkgPaths to cmake.

* Also fixup bootstrap on *nix.

* Make error message a little prettier.

* Make that bash script actually work :)

* [vcpkg] Alter Optional<> usage style

* [vcpkg-docs] Add section on Environment Variables to the docs
2018-12-11 11:48:41 -08:00
Michael Hofmann
42fd0c982a Fix unterminated quoted string in bootstrapping script. (#4946) 2018-12-11 02:12:21 -08:00
Andrew Sayman
3fb47a376f Include instructions for CentOS bootstrapping (#4892)
Currently only includes Ubuntu or apt oriented system. CentOS provides similarly working compilers through devtoolsets.
2018-12-10 23:30:37 -08:00
Alexander Karatarakis
db3004459f Improve disableMetrics propagation when consuming CMakeLists directly 2018-06-11 17:01:13 -07:00
Alexander Karatarakis
9508d4aad2 Add -disableMetrics for linux 2018-06-08 18:40:20 -07:00
Alexander Karatarakis
52f01eefa6 [bootstrap.sh] Fix whitespace-in-path issues 2018-05-16 04:51:08 +00:00
Robert Schumacher
8ce9265485 [bootstrap-vcpkg.sh] Find g++-8. Fixes #3486. 2018-05-15 21:42:58 -07:00
Francois Budin
540a32c841 Require the version of g++ to be at least 6
On Ubuntu 16.04, old versions of g++ such as 4.9 are available. Other
Linux distributions may also ship with g++ versions older than 5. With
the previous test, the bootstrap script was not failing fast and instead
was starting to compile vcpkg before it encountered the unsupported flag
-std=c++1z. The error message was not very explicit and that was making
it difficult to the developer to understand what the problem was. However,
when using g++ 5, an clear error message was printed to help the user.
This commit shows the helpful error message anytime g++ is older than
version 6.
2018-04-27 13:00:41 -04:00
Alexander Karatarakis
ef59460782 [bootstrap.sh] Minor refactoring for clarity 2018-04-25 22:23:45 -07:00
Alexander Karatarakis
aa423c999b
Merge pull request #3329 from rudilee/master
Checking for sha512sum on OS which doesn't have shasum
2018-04-25 21:26:24 -07:00
Alexander Karatarakis
c78a609dab [sh] Tweak so only the sh forwarder needs to be +x 2018-04-26 02:11:04 +00:00
Rudi Lee
6a3c1db30b Checking for sha512sum on OS which doesn't have shasum 2018-04-26 07:38:45 +07:00
Alexander Karatarakis
f12ded7fd0 [sh] Fix permission 2018-04-24 22:44:46 +00:00
Alexander Karatarakis
a11086e3b9 Introduce bootstrap.sh 2018-04-23 19:00:56 -07:00