diff options
| author | Robert Schumacher <roschuma@microsoft.com> | 2017-10-13 18:50:28 -0700 |
|---|---|---|
| committer | Robert Schumacher <roschuma@microsoft.com> | 2017-10-13 18:50:28 -0700 |
| commit | 0d7381ba408e4d5bcde06ab7a6353ff14e7afc0b (patch) | |
| tree | 293a786398d109ca316fc89d2f128fd80d7d5f56 /toolsrc/src/commands_env.cpp | |
| parent | 2397cc044ee56160757aeb402dc7adaec6b00894 (diff) | |
| parent | a790820e8cdf9adca3e5cf066b8a563a3beaacd1 (diff) | |
| download | vcpkg-0d7381ba408e4d5bcde06ab7a6353ff14e7afc0b.tar.gz vcpkg-0d7381ba408e4d5bcde06ab7a6353ff14e7afc0b.zip | |
Merge branch 'refactor-includes'
Diffstat (limited to 'toolsrc/src/commands_env.cpp')
| -rw-r--r-- | toolsrc/src/commands_env.cpp | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/toolsrc/src/commands_env.cpp b/toolsrc/src/commands_env.cpp deleted file mode 100644 index 6dad3e882..000000000 --- a/toolsrc/src/commands_env.cpp +++ /dev/null @@ -1,21 +0,0 @@ -#include "pch.h" - -#include "vcpkg_Build.h" -#include "vcpkg_Commands.h" -#include "vcpkg_System.h" - -namespace vcpkg::Commands::Env -{ - void perform_and_exit(const VcpkgCmdArguments& args, const VcpkgPaths& paths, const Triplet& default_triplet) - { - static const std::string EXAMPLE = Commands::Help::create_example_string(R"(env --Triplet x64-windows)"); - args.check_exact_arg_count(0, EXAMPLE); - args.check_and_get_optional_command_arguments({}); - - const auto pre_build_info = Build::PreBuildInfo::from_triplet_file(paths, default_triplet); - const Toolset& toolset = paths.get_toolset(pre_build_info.platform_toolset, pre_build_info.visual_studio_path); - System::cmd_execute_clean(Build::make_build_env_cmd(pre_build_info, toolset) + L" && cmd"); - - Checks::exit_success(VCPKG_LINE_INFO); - } -} |
