summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2019-10-07 21:52:47 (GMT)
committerBrad King <brad.king@kitware.com>2019-10-07 21:52:47 (GMT)
commitf356345dcfe0be0d056cfe7b2eb868bcf24be5cf (patch)
treec807e2bcbb5ea5d3a1adeac09418114df6af9643
parent6cecb2c3d68190c0af7e5cbf7eba3ce9f2889ae5 (diff)
parent04e5f30ad3f15d47939f5d7a8f53a7f390c6a3f5 (diff)
downloadCMake-f356345dcfe0be0d056cfe7b2eb868bcf24be5cf.zip
CMake-f356345dcfe0be0d056cfe7b2eb868bcf24be5cf.tar.gz
CMake-f356345dcfe0be0d056cfe7b2eb868bcf24be5cf.tar.bz2
Merge branch 'vs-16.4-global-targets' into release-3.16
Merge-request: !3896
-rw-r--r--Source/cmLocalVisualStudio7Generator.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/cmLocalVisualStudio7Generator.cxx b/Source/cmLocalVisualStudio7Generator.cxx
index e16e851..ce2e513 100644
--- a/Source/cmLocalVisualStudio7Generator.cxx
+++ b/Source/cmLocalVisualStudio7Generator.cxx
@@ -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)) {