From 5b89712df01c96242ced20c38f0fa27631c3f4e3 Mon Sep 17 00:00:00 2001 From: Alexander Karatarakis Date: Fri, 23 Sep 2016 00:02:51 -0700 Subject: Restruct `vcpkg build` to 1 package --- toolsrc/src/commands_installation.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'toolsrc/src/commands_installation.cpp') 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 specs = args.parse_all_arguments_as_package_specs(default_target_triplet); -- cgit v1.2.3