Răsfoiți Sursa

VS: Simplify use of object libraries in WINDOWS_EXPORT_ALL_SYMBOLS

Object library files are already included by `GetExternalObjects`
so we don't need to call `UseObjectLibraries` to get them.
Brad King 8 ani în urmă
părinte
comite
10772c51b4
1 a modificat fișierele cu 0 adăugiri și 1 ștergeri
  1. 0 1
      Source/cmGlobalVisualStudioGenerator.cxx

+ 0 - 1
Source/cmGlobalVisualStudioGenerator.cxx

@@ -887,7 +887,6 @@ void cmGlobalVisualStudioGenerator::AddSymbolExportCommand(
       objs.push_back((*it)->GetFullPath());
       objs.push_back((*it)->GetFullPath());
     }
     }
 
 
-    gt->UseObjectLibraries(objs, configName);
     for (std::vector<std::string>::iterator it = objs.begin();
     for (std::vector<std::string>::iterator it = objs.begin();
          it != objs.end(); ++it) {
          it != objs.end(); ++it) {
       std::string objFile = *it;
       std::string objFile = *it;