Jelajahi Sumber

Merge branch 'vs-16.4-global-targets' into release-3.16

Merge-request: !3896
Brad King 6 tahun lalu
induk
melakukan
88fa7b761d
1 mengubah file dengan 4 tambahan dan 0 penghapusan
  1. 4 0
      Source/cmLocalVisualStudio7Generator.cxx

+ 4 - 0
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)) {