From 10772c51b4b0eea35d78a2dd3aa45b92daab7ef2 Mon Sep 17 00:00:00 2001 From: Brad King Date: Mon, 10 Apr 2017 14:14:59 -0400 Subject: 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. --- Source/cmGlobalVisualStudioGenerator.cxx | 1 - 1 file changed, 1 deletion(-) diff --git a/Source/cmGlobalVisualStudioGenerator.cxx b/Source/cmGlobalVisualStudioGenerator.cxx index 6d16881..eae1dc4 100644 --- a/Source/cmGlobalVisualStudioGenerator.cxx +++ b/Source/cmGlobalVisualStudioGenerator.cxx @@ -887,7 +887,6 @@ void cmGlobalVisualStudioGenerator::AddSymbolExportCommand( objs.push_back((*it)->GetFullPath()); } - gt->UseObjectLibraries(objs, configName); for (std::vector::iterator it = objs.begin(); it != objs.end(); ++it) { std::string objFile = *it; -- cgit v0.12