Commit 6bcc8c1c authored by Brad King's avatar Brad King Committed by Kitware Robot

Merge topic 'vs-16.4-global-targets'

9df56ece Merge branch 'backport-vs-16.4-global-targets'
ac1a1bf1 VS: Tell VS 16.4 not to verify CMake-provided custom command outputs
04e5f30a VS: Tell VS 16.4 not to verify CMake-provided custom command outputs
Acked-by: Kitware Robot's avatarKitware Robot <kwrobot@kitware.com>
Merge-request: !3896
parents ab54653a 9df56ece
Pipeline #147914 passed with stage
in 0 seconds
......@@ -98,6 +98,10 @@ void cmLocalVisualStudio7Generator::FixGlobalTargets()
std::string no_main_dependency;
std::string force = cmStrCat(this->GetCurrentBinaryDirectory(),
"/CMakeFiles/", l->GetName(), "_force");
if (cmSourceFile* sf =
this->Makefile->GetOrCreateGeneratedSource(force)) {
sf->SetProperty("SYMBOLIC", "1");
}
if (cmSourceFile* file = this->Makefile->AddCustomCommandToOutput(
force.c_str(), no_depends, no_main_dependency, force_commands, " ",
0, true)) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment