Просмотр исходного кода

Merge branch 'backport-vs-16.4-global-targets' into release-3.15

Merge-request: !3896
Brad King 6 лет назад
Родитель
Сommit
dec3e9363e
1 измененных файлов с 4 добавлено и 0 удалено
  1. 4 0
      Source/cmLocalVisualStudio7Generator.cxx

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