aboutsummaryrefslogtreecommitdiff
path: root/toolsrc/include
diff options
context:
space:
mode:
authorRobert Schumacher <roschuma@microsoft.com>2017-04-03 10:44:14 -0700
committerRobert Schumacher <roschuma@microsoft.com>2017-04-03 10:44:29 -0700
commitcb5cbc4d84d84e8199d58740e0e7ed3c6d3ba473 (patch)
tree091af6fccadb4597d55cf53c161c1a3635fe33c7 /toolsrc/include
parentf9c01a893e79d5ae086294d0f11543cd37283438 (diff)
downloadvcpkg-cb5cbc4d84d84e8199d58740e0e7ed3c6d3ba473.tar.gz
vcpkg-cb5cbc4d84d84e8199d58740e0e7ed3c6d3ba473.zip
[vcpkg-env] Added internal 'env' command to help diagnose environment issues.
Diffstat (limited to 'toolsrc/include')
-rw-r--r--toolsrc/include/vcpkg_Commands.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/toolsrc/include/vcpkg_Commands.h b/toolsrc/include/vcpkg_Commands.h
index d73181bf4..23575ca23 100644
--- a/toolsrc/include/vcpkg_Commands.h
+++ b/toolsrc/include/vcpkg_Commands.h
@@ -29,6 +29,8 @@ namespace vcpkg::Commands
std::string create_error_message(const BuildResult build_result, const package_spec& spec);
std::string create_user_troubleshooting_message(const package_spec& spec);
+ std::wstring make_build_env_cmd(const triplet& target_triplet, const toolset_t& toolset);
+
BuildResult build_package(const SourceParagraph& source_paragraph, const package_spec& spec, const vcpkg_paths& paths, const fs::path& port_dir, const StatusParagraphs& status_db);
void perform_and_exit(const package_spec& spec, const fs::path& port_dir, const std::unordered_set<std::string>& options, const vcpkg_paths& paths);
void perform_and_exit(const vcpkg_cmd_arguments& args, const vcpkg_paths& paths, const triplet& default_target_triplet);
@@ -69,6 +71,11 @@ namespace vcpkg::Commands
void perform_and_exit(const vcpkg_cmd_arguments& args, const vcpkg_paths& paths);
}
+ namespace Env
+ {
+ void perform_and_exit(const vcpkg_cmd_arguments& args, const vcpkg_paths& paths, const triplet& default_triplet);
+ }
+
namespace Create
{
void perform_and_exit(const vcpkg_cmd_arguments& args, const vcpkg_paths& paths);