summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2019-10-09 13:19:40 (GMT)
committerBrad King <brad.king@kitware.com>2019-10-09 13:19:40 (GMT)
commit88fa7b761d3ef2ba1c6326ed4d7069cb0e886a07 (patch)
treef282656a2e5f0a0f56abc2c03336625f08b433f5 /Source
parent155d6d8342e4e6948abaf4a415da04dce8c6466a (diff)
parent04e5f30ad3f15d47939f5d7a8f53a7f390c6a3f5 (diff)
downloadCMake-88fa7b761d3ef2ba1c6326ed4d7069cb0e886a07.zip
CMake-88fa7b761d3ef2ba1c6326ed4d7069cb0e886a07.tar.gz
CMake-88fa7b761d3ef2ba1c6326ed4d7069cb0e886a07.tar.bz2
Merge branch 'vs-16.4-global-targets' into release-3.16
Merge-request: !3896
Diffstat (limited to 'Source')
-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)) {