summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalVisualStudioGenerator.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2017-04-10 18:14:59 (GMT)
committerBrad King <brad.king@kitware.com>2017-04-11 14:10:27 (GMT)
commit10772c51b4b0eea35d78a2dd3aa45b92daab7ef2 (patch)
treeda9bdecc1cc52215fdec93c0cc49b4200bc3cee7 /Source/cmGlobalVisualStudioGenerator.cxx
parent22829a130482511f8310caf74e190baee7ec763b (diff)
downloadCMake-10772c51b4b0eea35d78a2dd3aa45b92daab7ef2.zip
CMake-10772c51b4b0eea35d78a2dd3aa45b92daab7ef2.tar.gz
CMake-10772c51b4b0eea35d78a2dd3aa45b92daab7ef2.tar.bz2
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.
Diffstat (limited to 'Source/cmGlobalVisualStudioGenerator.cxx')
-rw-r--r--Source/cmGlobalVisualStudioGenerator.cxx1
1 files changed, 0 insertions, 1 deletions
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<std::string>::iterator it = objs.begin();
it != objs.end(); ++it) {
std::string objFile = *it;