Billy O'Neal
7192d3affa
[vcpkg] Delete g_binary_caching global that should be passed as a parameter. ( #11958 )
2020-06-15 14:34:26 -07:00
Billy O'Neal
4fb2256085
[vcpkg] Allow CI to pass in all relevant directories and remove use of symbolic links ( #11483 )
2020-06-03 19:31:28 -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
Robert Schumacher
ce8b01a14b
[vcpkg] Add support for VCPKG_BINARY_SOURCES and --x-binarysource=<> ( #10476 )
...
* [vcpkg] Add support for VCPKG_BINARY_SOURCES and --binarysource=<>
* [vcpkg] Rename --binarysource to --x-binarysource to denote internal/experimental
* [vcpkg] Address review comments & add tests for BinaryConfigParser
* [vcpkg] Replace do {} while(1); with for(;;)
Avoids conditional expresion is constant warnings
* [vcpkg] Invert if/else
* [vcpkg] Fix warning in export.prefab.cpp
* [vcpkg] Resolve merge regressions
2020-04-29 10:16:40 -07:00
nicole mazzuca
556325a1f7
[vcpkg] Add x-set-installed command ( #10817 )
...
This command takes a list of ports, and causes the final state of the
installed directory to be as-if one ran the install on an empty
installed directory (removing any unnecessary packages).
This is especially useful with the new `--x-install-root` option, which
allows one to set the `installed` directory for vcpkg to use.
Additionally, as a drive-by, we do some `stdfs` clean-up and add a
`.is_feature()` member function to BinaryParagraph (as opposed to
checking for `.feature().empty()`, which is far less clear to read).
This feature is experimental.
2020-04-17 15:49:59 -07:00
martin-s
91da4aab4c
Allow redirection of the scripts folder. ( #6552 )
...
* Allow redirection of the scripts folder with an environment variable.
* - Updated feature from environment variable to argument.
* Fix crash when no scripts override is given and use --scripts-root=<PATH> format
* Update help messages to use --scripts-root=<PATH> format
2019-07-01 22:51:07 -07:00
Victor Romero
35e985d3cc
Triplets Overlay Implementation ( #7053 )
...
* Triplets Overlay Implementation
* Use cache for get_triplet_file_path()
* Code cleanup
2019-06-27 12:20:12 -07:00
Victor Romero
f3db66b403
Ports Overlay partial implementation ( #6981 )
...
* Ports Overlay feature spec
* Ports Overlay implementation
* [--overlay-ports] Refactor handling of additional paths
* Code cleanup
* [--overlay-ports] Add help
* [depend-info] Support --overlay-ports
* Add method to load all ports using PathsPortFileProvider
* Make PortFileProvider::load_all_control_files() const
* Remove unused code
* [vcpkg] Avoid double-load of source control file between Build::perform_and_exit and Build::perform_and_exit_ex
* [vcpkg] Clang format
* [vcpkg] Fixup build failure introduced in b069ceb2f231
* Report errors from Paragraphs::try_load_port()
2019-06-21 23:50:05 -07:00
Alexander Karatarakis
77338ee0df
Remove more unused #include directives
2018-04-07 04:55:37 -07:00
Robert Schumacher
25b8f25dad
[vcpkg] Initial commit of experimental compressed binary archiving behind a flag
2018-02-26 18:38:25 -08:00
Robert Schumacher
a2e6ffd86d
[vcpkg] Refactor VcpkgCmdArguments to not utilize global state
2018-02-26 18:22:17 -08:00
Alexander Karatarakis
f563d2b588
Use StringLiteral and constexpr for options/switches
2018-01-17 19:39:46 -08:00
Robert Schumacher
2feea0828b
[vcpkg] Improve vcpkg help
-- now has per-command help!
2017-11-02 18:17:21 -07:00
Robert Schumacher
6a91d1ece1
[vcpkg] Refactor argument parsing to use common code paths.
2017-11-02 15:20:42 -07:00
Alexander Karatarakis
79ebd26605
Remove VcpkgCmdArguments.check_and_get_optional_command_arguments() overload
...
Also, use Util::Sets::contains() where possible.
2017-10-26 19:17:12 -07:00
Robert Schumacher
7214c3583b
[vcpkg] Push use of UTF-16 to only around Win32 call boundaries.
2017-10-16 11:44:04 -07:00
Robert Schumacher
bea4c2ff49
[vcpkg] Begin refactor to use CommandStructure to represent command parsing
2017-10-13 20:58:00 -07:00
Robert Schumacher
e17de99599
[vcpkg] Re-layout all files using new organization scheme.
...
All filenames and directories are lowercase. Use dots for namespace separation.
2017-10-13 18:37:41 -07:00