summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2019-10-08 15:22:47 (GMT)
committerKitware Robot <kwrobot@kitware.com>2019-10-08 15:22:55 (GMT)
commit6bcc8c1c312ac150b8985f38a137222e4cf04d4c (patch)
tree8dc0c46d1c45ab126188e71e2030d15f377f77b2
parentab54653afd8f6671c462742dee089a2e12b2d7dc (diff)
parent9df56ece79a6267ca556fd42b904de4c1642de14 (diff)
downloadCMake-6bcc8c1c312ac150b8985f38a137222e4cf04d4c.zip
CMake-6bcc8c1c312ac150b8985f38a137222e4cf04d4c.tar.gz
CMake-6bcc8c1c312ac150b8985f38a137222e4cf04d4c.tar.bz2
Merge topic 'vs-16.4-global-targets'
9df56ece79 Merge branch 'backport-vs-16.4-global-targets' ac1a1bf18b VS: Tell VS 16.4 not to verify CMake-provided custom command outputs 04e5f30ad3 VS: Tell VS 16.4 not to verify CMake-provided custom command outputs Acked-by: Kitware Robot <kwrobot@kitware.com> 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)) {