mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-02 12:19:54 -05:00
Refactor WINDOWS_EXPORT_ALL_SYMBOLS implementation
Use `cmGeneratorTarget::ModuleDefinitionInfo` to combine the implementation of `WINDOWS_EXPORT_ALL_SYMBOLS` with that of using a `.def` file as a source. Only one of these could be used within a single target before anyway.
This commit is contained in:
@@ -750,10 +750,7 @@ void cmMakefileLibraryTargetGenerator::WriteLibraryRules(
|
||||
}
|
||||
|
||||
// maybe create .def file from list of objects
|
||||
if (this->GeneratorTarget->GetType() == cmStateEnums::SHARED_LIBRARY &&
|
||||
this->Makefile->IsOn("CMAKE_SUPPORT_WINDOWS_EXPORT_ALL_SYMBOLS")) {
|
||||
this->GenDefFile(real_link_commands, linkFlags);
|
||||
}
|
||||
this->GenDefFile(real_link_commands);
|
||||
|
||||
std::string manifests = this->GetManifests();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user