summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Neundorf <neundorf@kde.org>2012-03-30 21:59:14 +0200
committerAlex Neundorf <neundorf@kde.org>2012-03-30 21:59:14 +0200
commitf93d03df435224594d21dc250b516e954e1dd86f (patch)
tree463a808af355f7ac9bdc12f0fe4a97b5cb59392f
parent7d99247454687cade1e7aff69fb411e1ec4f8f50 (diff)
downloadcmake-f93d03df435224594d21dc250b516e954e1dd86f.tar.gz
fix #13054: support OBJECT libraries in Eclipse
Alex
-rw-r--r--Source/cmExtraEclipseCDT4Generator.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmExtraEclipseCDT4Generator.cxx b/Source/cmExtraEclipseCDT4Generator.cxx
index ebd7c7f5aa..65077b30b4 100644
--- a/Source/cmExtraEclipseCDT4Generator.cxx
+++ b/Source/cmExtraEclipseCDT4Generator.cxx
@@ -501,6 +501,7 @@ void cmExtraEclipseCDT4Generator::CreateLinksForTargets(
case cmTarget::STATIC_LIBRARY:
case cmTarget::SHARED_LIBRARY:
case cmTarget::MODULE_LIBRARY:
+ case cmTarget::OBJECT_LIBRARY:
{
const char* prefix = (ti->second.GetType()==cmTarget::EXECUTABLE ?
"[exe] " : "[lib] ");
@@ -1017,6 +1018,7 @@ void cmExtraEclipseCDT4Generator::CreateCProjectFile() const
case cmTarget::STATIC_LIBRARY:
case cmTarget::SHARED_LIBRARY:
case cmTarget::MODULE_LIBRARY:
+ case cmTarget::OBJECT_LIBRARY:
{
const char* prefix = (ti->second.GetType()==cmTarget::EXECUTABLE ?
"[exe] " : "[lib] ");