summaryrefslogtreecommitdiffstats
path: root/Source/cmExtraEclipseCDT4Generator.cxx
diff options
context:
space:
mode:
authorAlex Neundorf <neundorf@kde.org>2012-03-30 19:59:14 (GMT)
committerAlex Neundorf <neundorf@kde.org>2012-03-30 19:59:14 (GMT)
commitf93d03df435224594d21dc250b516e954e1dd86f (patch)
tree463a808af355f7ac9bdc12f0fe4a97b5cb59392f /Source/cmExtraEclipseCDT4Generator.cxx
parent7d99247454687cade1e7aff69fb411e1ec4f8f50 (diff)
downloadCMake-f93d03df435224594d21dc250b516e954e1dd86f.zip
CMake-f93d03df435224594d21dc250b516e954e1dd86f.tar.gz
CMake-f93d03df435224594d21dc250b516e954e1dd86f.tar.bz2
fix #13054: support OBJECT libraries in Eclipse
Alex
Diffstat (limited to 'Source/cmExtraEclipseCDT4Generator.cxx')
-rw-r--r--Source/cmExtraEclipseCDT4Generator.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmExtraEclipseCDT4Generator.cxx b/Source/cmExtraEclipseCDT4Generator.cxx
index ebd7c7f..65077b3 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] ");