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.
This commit is contained in:
Brad King
2017-04-10 14:14:59 -04:00
parent 22829a1304
commit 10772c51b4

View File

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