mirror of
https://github.com/reactos/CMake.git
synced 2025-02-02 01:55:03 +00:00
Merge topic 'vs-export-external-objects'
4dde0bc8 VS: Fix WINDOWS_EXPORT_ALL_SYMBOLS for external objects
This commit is contained in:
commit
5accbaccbc
@ -856,6 +856,14 @@ void cmGlobalVisualStudioGenerator::AddSymbolExportCommand(
|
||||
std::string objFile = obj_dir + map_it->second;
|
||||
objs.push_back(objFile);
|
||||
}
|
||||
std::vector<cmSourceFile const*> externalObjectSources;
|
||||
gt->GetExternalObjects(externalObjectSources, configName);
|
||||
for (std::vector<cmSourceFile const*>::const_iterator it =
|
||||
externalObjectSources.begin();
|
||||
it != externalObjectSources.end(); ++it) {
|
||||
objs.push_back((*it)->GetFullPath());
|
||||
}
|
||||
|
||||
gt->UseObjectLibraries(objs, configName);
|
||||
for (std::vector<std::string>::iterator it = objs.begin(); it != objs.end();
|
||||
++it) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user