diff options
| author | Alexander Karatarakis <alkarata@microsoft.com> | 2016-09-23 00:02:51 -0700 |
|---|---|---|
| committer | Alexander Karatarakis <alkarata@microsoft.com> | 2016-09-23 00:02:51 -0700 |
| commit | 5b89712df01c96242ced20c38f0fa27631c3f4e3 (patch) | |
| tree | 9e4762cf161d3bbcd2e0cc9b18fd980233a2f978 /toolsrc/src/commands_installation.cpp | |
| parent | a26c88c754c14e2fd059f2ddbd69802b875b77ea (diff) | |
| download | vcpkg-5b89712df01c96242ced20c38f0fa27631c3f4e3.tar.gz vcpkg-5b89712df01c96242ced20c38f0fa27631c3f4e3.zip | |
Restruct `vcpkg build` to 1 package
Diffstat (limited to 'toolsrc/src/commands_installation.cpp')
| -rw-r--r-- | toolsrc/src/commands_installation.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/toolsrc/src/commands_installation.cpp b/toolsrc/src/commands_installation.cpp index 29233c5d9..35c78db8f 100644 --- a/toolsrc/src/commands_installation.cpp +++ b/toolsrc/src/commands_installation.cpp @@ -113,6 +113,10 @@ namespace vcpkg void build_command(const vcpkg_cmd_arguments& args, const vcpkg_paths& paths, const triplet& default_target_triplet) { + // Currently the code won't work for multiple packages if one of them depends on another. + // Allowing only 1 package for now. + args.check_max_args(1); + StatusParagraphs status_db = database_load_check(paths); std::vector<package_spec> specs = args.parse_all_arguments_as_package_specs(default_target_triplet); |
