summaryrefslogtreecommitdiffstats
path: root/Source/cmMakefileLibraryTargetGenerator.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2017-03-13 12:57:17 (GMT)
committerKitware Robot <kwrobot@kitware.com>2017-03-13 12:57:20 (GMT)
commitabfc55a362bd2ad5ea45f7f8f228adf516f389ad (patch)
treee7918ba46d47d8ba16cb9f1f381a441979169552 /Source/cmMakefileLibraryTargetGenerator.cxx
parentabbc0b839f70354804a222fbb10f96e378927486 (diff)
parentf36eaf6a6eb8a7ef1127ad43e419896be89f0e39 (diff)
downloadCMake-abfc55a362bd2ad5ea45f7f8f228adf516f389ad.zip
CMake-abfc55a362bd2ad5ea45f7f8f228adf516f389ad.tar.gz
CMake-abfc55a362bd2ad5ea45f7f8f228adf516f389ad.tar.bz2
Merge topic 'refactor-module-def'
f36eaf6a Refactor WINDOWS_EXPORT_ALL_SYMBOLS implementation 25d261ef Refactor module definition file selection 1e0a9ac4 Refactor module definition source enumeration Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !570
Diffstat (limited to 'Source/cmMakefileLibraryTargetGenerator.cxx')
-rw-r--r--Source/cmMakefileLibraryTargetGenerator.cxx5
1 files changed, 1 insertions, 4 deletions
diff --git a/Source/cmMakefileLibraryTargetGenerator.cxx b/Source/cmMakefileLibraryTargetGenerator.cxx
index bc456cf..e5fae13 100644
--- a/Source/cmMakefileLibraryTargetGenerator.cxx
+++ b/Source/cmMakefileLibraryTargetGenerator.cxx
@@ -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();