diff options
author | Brad King <brad.king@kitware.com> | 2019-10-07 21:49:17 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2019-10-07 21:51:51 (GMT) |
commit | dec3e9363e2ced84ef4c3a3972272c27d90a8766 (patch) | |
tree | be7ea2103f2a6e2b48c896e8e8406f4998adb6b3 | |
parent | b21e4e4a1511417956b1d6d07f49425747c400e2 (diff) | |
parent | ac1a1bf18bd3d395fd17eddbc5a38e710e737664 (diff) | |
download | CMake-dec3e9363e2ced84ef4c3a3972272c27d90a8766.zip CMake-dec3e9363e2ced84ef4c3a3972272c27d90a8766.tar.gz CMake-dec3e9363e2ced84ef4c3a3972272c27d90a8766.tar.bz2 |
Merge branch 'backport-vs-16.4-global-targets' into release-3.15
Merge-request: !3896
-rw-r--r-- | Source/cmLocalVisualStudio7Generator.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/cmLocalVisualStudio7Generator.cxx b/Source/cmLocalVisualStudio7Generator.cxx index 8154f3e..82a1170 100644 --- a/Source/cmLocalVisualStudio7Generator.cxx +++ b/Source/cmLocalVisualStudio7Generator.cxx @@ -102,6 +102,10 @@ void cmLocalVisualStudio7Generator::FixGlobalTargets() force += "/"; force += l->GetName(); force += "_force"; + if (cmSourceFile* sf = this->Makefile->GetOrCreateSource( + force, true, cmSourceFileLocationKind::Known)) { + sf->SetProperty("SYMBOLIC", "1"); + } if (cmSourceFile* file = this->Makefile->AddCustomCommandToOutput( force.c_str(), no_depends, no_main_dependency, force_commands, " ", 0, true)) { |