diff options
author | Daniel Eiband <daniel.eiband@brainlab.com> | 2019-09-20 23:17:15 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2019-09-26 14:04:03 (GMT) |
commit | 5a06efda05feda02511592c76134ee8ed3e8b650 (patch) | |
tree | 4bd8dca46fcc5f1af0bb5c92792ab33b103e02f6 /Source/cmGlobalVisualStudioGenerator.cxx | |
parent | ea1bed34b2ba16f3971b90996dc345834f0d9699 (diff) | |
download | CMake-5a06efda05feda02511592c76134ee8ed3e8b650.zip CMake-5a06efda05feda02511592c76134ee8ed3e8b650.tar.gz CMake-5a06efda05feda02511592c76134ee8ed3e8b650.tar.bz2 |
cmMakefile: Remove AddUtilityCommand overload without byproducts
Diffstat (limited to 'Source/cmGlobalVisualStudioGenerator.cxx')
-rw-r--r-- | Source/cmGlobalVisualStudioGenerator.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Source/cmGlobalVisualStudioGenerator.cxx b/Source/cmGlobalVisualStudioGenerator.cxx index 82219bd..0bc08a5 100644 --- a/Source/cmGlobalVisualStudioGenerator.cxx +++ b/Source/cmGlobalVisualStudioGenerator.cxx @@ -183,7 +183,8 @@ void cmGlobalVisualStudioGenerator::AddExtraIDETargets() { // Add a special target that depends on ALL projects for easy build // of one configuration only. - const char* no_working_dir = 0; + const char* no_working_dir = nullptr; + std::vector<std::string> no_byproducts; std::vector<std::string> no_depends; cmCustomCommandLines no_commands; for (auto const& it : this->ProjectMap) { @@ -194,7 +195,7 @@ void cmGlobalVisualStudioGenerator::AddExtraIDETargets() // considered always out of date. cmTarget* allBuild = gen[0]->GetMakefile()->AddUtilityCommand( "ALL_BUILD", cmCommandOrigin::Generator, true, no_working_dir, - no_depends, no_commands, false, "Build all projects"); + no_byproducts, no_depends, no_commands, false, "Build all projects"); cmGeneratorTarget* gt = new cmGeneratorTarget(allBuild, gen[0]); gen[0]->AddGeneratorTarget(gt); |