diff options
author | Brad King <brad.king@kitware.com> | 2019-03-20 14:54:24 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2019-03-20 14:54:24 (GMT) |
commit | 9603e418e52899f865cada55572f623134bc2d99 (patch) | |
tree | 039ecf7c449b07c928c5c0424900fedca9465cae | |
parent | 5b6c6c2d80c6dee20b84dbec64e42ce2d426d33e (diff) | |
parent | d3dcf8d7745a1f1435797cb3a1451ef4ddb7ce2c (diff) | |
download | CMake-9603e418e52899f865cada55572f623134bc2d99.zip CMake-9603e418e52899f865cada55572f623134bc2d99.tar.gz CMake-9603e418e52899f865cada55572f623134bc2d99.tar.bz2 |
Merge branch 'eclipse-interface-lib' into release-3.14
Merge-request: !3125
-rw-r--r-- | Source/cmExtraEclipseCDT4Generator.cxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/cmExtraEclipseCDT4Generator.cxx b/Source/cmExtraEclipseCDT4Generator.cxx index 30067b7..e05f74b 100644 --- a/Source/cmExtraEclipseCDT4Generator.cxx +++ b/Source/cmExtraEclipseCDT4Generator.cxx @@ -845,6 +845,9 @@ void cmExtraEclipseCDT4Generator::CreateCProjectFile() const const std::vector<cmGeneratorTarget*>& targets = lgen->GetGeneratorTargets(); for (cmGeneratorTarget* target : targets) { + if (target->GetType() == cmStateEnums::INTERFACE_LIBRARY) { + continue; + } std::vector<std::string> includeDirs; std::string config = mf->GetSafeDefinition("CMAKE_BUILD_TYPE"); lgen->GetIncludeDirectories(includeDirs, target, "C", config); @@ -971,6 +974,8 @@ void cmExtraEclipseCDT4Generator::CreateCProjectFile() const virtDir, "", ""); } } break; + case cmStateEnums::INTERFACE_LIBRARY: + break; default: break; } |