[cmake-developers] Better Eclipse CDT support

Alexander Neundorf neundorf at kde.org
Thu Apr 28 16:57:47 EDT 2011


On Wednesday 27 April 2011, Oliver Buchtala wrote:
> Forgot to feed the list...
>
> Am 27.04.2011 22:01, schrieb Alexander Neundorf:
> > On Friday 22 April 2011, Oliver Buchtala wrote:
> > ...
> >
> >> Here we go:
> >> git://github.com/oliver----/cmake_cdt7.git
> >>
> >> I have intensively worked with this generator the last days - and am not
> >> completely satisfied with it in the moment.
> >> But basically, it does what I want.
> >
> > I built and installed it.
> > I'm actually not really using Eclipse much myself, e.g. so I have never
> > used working sets before.
> >
> > I tried to load it via Project Explorer -> Select Working Set -> Window
> > Working Set -> Working set type: C/C++ and then selecting the
> > builddir/eclipse/CMake.wst file.
> > But now I'm not sure what to do with it.
> > The normal targets and directory structure look like they did before, and
> > in the eclipse/ directory there are a lot of empty directories starting
> > with a "@".
> >
> > So, how do I use it ?
> >
> > Alex
>
> Hi Alex,
>
> I have written down some things on
> http://edge.substance.io/#oliver/CMakeEclipseCDT7

I installed the plugin.
Now I imported the working set CMake.wst instead of the project(s).
I see three working sets: CMake, CMake/ALL and CMake/CTestDashboardTargets.
When I select "Top Level Elements" -> Projects, I see nothing from them.
When I select "Top Level Elements" -> "Working sets", I see them, e.g. 
the "CMake" one. When I try to click it open, it is empty. If I right-click 
it and "Go Into", the pane becomes empty.
When I right-click and click "Properties", it shows me a dialog with the 
existing (other) projects, no cmake among them, and no directories are 
checked.

What am I doing wrong ?

The wst file is attached.

Alex
-------------- next part --------------
<?xml version="1.0" encoding="UTF-8"?>
<workingSets>
	<workingSet editPageId="org.eclipse.cdt.ui.CElementWorkingSetPage" id="CMake" label="CMake" name="CMake">
		<item factoryID="org.eclipse.cdt.ui.PersistableCElementFactory" path="/cmForm" type="4"/>
		<item factoryID="org.eclipse.cdt.ui.PersistableCElementFactory" path="/cmForm" type="4"/>
		<item factoryID="org.eclipse.cdt.ui.PersistableCElementFactory" path="/cmcompress" type="4"/>
		<item factoryID="org.eclipse.cdt.ui.PersistableCElementFactory" path="/cmcompress" type="4"/>
		<item factoryID="org.eclipse.cdt.ui.PersistableCElementFactory" path="/cmexpat" type="4"/>
		<item factoryID="org.eclipse.cdt.ui.PersistableCElementFactory" path="/cmexpat" type="4"/>
		<item factoryID="org.eclipse.cdt.ui.PersistableCElementFactory" path="/cmzlib" type="4"/>
		<item factoryID="org.eclipse.cdt.ui.PersistableCElementFactory" path="/cmzlib" type="4"/>
		<item factoryID="org.eclipse.cdt.ui.PersistableCElementFactory" path="/uninstall" type="4"/>
		<item factoryID="org.eclipse.cdt.ui.PersistableCElementFactory" path="/cmsys" type="4"/>
		<item factoryID="org.eclipse.cdt.ui.PersistableCElementFactory" path="/cmsys" type="4"/>
		<item factoryID="org.eclipse.cdt.ui.PersistableCElementFactory" path="/cmsysTestDynload" type="4"/>
		<item factoryID="org.eclipse.cdt.ui.PersistableCElementFactory" path="/cmsysTestDynload" type="4"/>
		<item factoryID="org.eclipse.cdt.ui.PersistableCElementFactory" path="/cmsysTestProcess" type="4"/>
		<item factoryID="org.eclipse.cdt.ui.PersistableCElementFactory" path="/cmsysTestProcess" type="4"/>
		<item factoryID="org.eclipse.cdt.ui.PersistableCElementFactory" path="/cmsysTestSharedForward" type="4"/>
		<item factoryID="org.eclipse.cdt.ui.PersistableCElementFactory" path="/cmsysTestSharedForward" type="4"/>
		<item factoryID="org.eclipse.cdt.ui.PersistableCElementFactory" path="/cmsysTestsC" type="4"/>
		<item factoryID="org.eclipse.cdt.ui.PersistableCElementFactory" path="/cmsysTestsC" type="4"/>
		<item factoryID="org.eclipse.cdt.ui.PersistableCElementFactory" path="/cmsysTestsCxx" type="4"/>
		<item factoryID="org.eclipse.cdt.ui.PersistableCElementFactory" path="/cmsysTestsCxx" type="4"/>
		<item factoryID="org.eclipse.cdt.ui.PersistableCElementFactory" path="/cmsys_c" type="4"/>
		<item factoryID="org.eclipse.cdt.ui.PersistableCElementFactory" path="/cmsys_c" type="4"/>
		<item factoryID="org.eclipse.cdt.ui.PersistableCElementFactory" path="/cmzlib" type="4"/>
		<item factoryID="org.eclipse.cdt.ui.PersistableCElementFactory" path="/cmzlib" type="4"/>
		<item factoryID="org.eclipse.cdt.ui.PersistableCElementFactory" path="/LIBCURL" type="4"/>
		<item factoryID="org.eclipse.cdt.ui.PersistableCElementFactory" path="/LIBCURL" type="4"/>
		<item factoryID="org.eclipse.cdt.ui.PersistableCElementFactory" path="/cmcurl" type="4"/>
		<item factoryID="org.eclipse.cdt.ui.PersistableCElementFactory" path="/cmcurl" type="4"/>
		<item factoryID="org.eclipse.cdt.ui.PersistableCElementFactory" path="/cmcompress" type="4"/>
		<item factoryID="org.eclipse.cdt.ui.PersistableCElementFactory" path="/cmcompress" type="4"/>
		<item factoryID="org.eclipse.cdt.ui.PersistableCElementFactory" path="/cmbzip2" type="4"/>
		<item factoryID="org.eclipse.cdt.ui.PersistableCElementFactory" path="/cmbzip2" type="4"/>
		<item factoryID="org.eclipse.cdt.ui.PersistableCElementFactory" path="/cmlibarchive" type="4"/>
		<item factoryID="org.eclipse.cdt.ui.PersistableCElementFactory" path="/cmlibarchive" type="4"/>
		<item factoryID="org.eclipse.cdt.ui.PersistableCElementFactory" path="/cmexpat" type="4"/>
		<item factoryID="org.eclipse.cdt.ui.PersistableCElementFactory" path="/cmexpat" type="4"/>
		<item factoryID="org.eclipse.cdt.ui.PersistableCElementFactory" path="/cmForm" type="4"/>
		<item factoryID="org.eclipse.cdt.ui.PersistableCElementFactory" path="/cmForm" type="4"/>
		<item factoryID="org.eclipse.cdt.ui.PersistableCElementFactory" path="/CMakeLib" type="4"/>
		<item factoryID="org.eclipse.cdt.ui.PersistableCElementFactory" path="/CMakeLib" type="4"/>
		<item factoryID="org.eclipse.cdt.ui.PersistableCElementFactory" path="/CPackLib" type="4"/>
		<item factoryID="org.eclipse.cdt.ui.PersistableCElementFactory" path="/CPackLib" type="4"/>
		<item factoryID="org.eclipse.cdt.ui.PersistableCElementFactory" path="/CTestLib" type="4"/>
		<item factoryID="org.eclipse.cdt.ui.PersistableCElementFactory" path="/CTestLib" type="4"/>
		<item factoryID="org.eclipse.cdt.ui.PersistableCElementFactory" path="/ccmake" type="4"/>
		<item factoryID="org.eclipse.cdt.ui.PersistableCElementFactory" path="/ccmake" type="4"/>
		<item factoryID="org.eclipse.cdt.ui.PersistableCElementFactory" path="/cmake" type="4"/>
		<item factoryID="org.eclipse.cdt.ui.PersistableCElementFactory" path="/cmake" type="4"/>
		<item factoryID="org.eclipse.cdt.ui.PersistableCElementFactory" path="/cpack" type="4"/>
		<item factoryID="org.eclipse.cdt.ui.PersistableCElementFactory" path="/cpack" type="4"/>
		<item factoryID="org.eclipse.cdt.ui.PersistableCElementFactory" path="/ctest" type="4"/>
		<item factoryID="org.eclipse.cdt.ui.PersistableCElementFactory" path="/ctest" type="4"/>
		<item factoryID="org.eclipse.cdt.ui.PersistableCElementFactory" path="/documentation" type="4"/>
		<item factoryID="org.eclipse.cdt.ui.PersistableCElementFactory" path="/test_clean" type="4"/>
		<item factoryID="org.eclipse.cdt.ui.PersistableCElementFactory" path="/CMakeLibTests" type="4"/>
		<item factoryID="org.eclipse.cdt.ui.PersistableCElementFactory" path="/CMakeLibTests" type="4"/>
		<item factoryID="org.eclipse.cdt.ui.PersistableCElementFactory" path="/LIBCURL" type="4"/>
		<item factoryID="org.eclipse.cdt.ui.PersistableCElementFactory" path="/LIBCURL" type="4"/>
		<item factoryID="org.eclipse.cdt.ui.PersistableCElementFactory" path="/cmcurl" type="4"/>
		<item factoryID="org.eclipse.cdt.ui.PersistableCElementFactory" path="/cmcurl" type="4"/>
		<item factoryID="org.eclipse.cdt.ui.PersistableCElementFactory" path="/cmbzip2" type="4"/>
		<item factoryID="org.eclipse.cdt.ui.PersistableCElementFactory" path="/cmbzip2" type="4"/>
		<item factoryID="org.eclipse.cdt.ui.PersistableCElementFactory" path="/cmsys" type="4"/>
		<item factoryID="org.eclipse.cdt.ui.PersistableCElementFactory" path="/cmsys" type="4"/>
		<item factoryID="org.eclipse.cdt.ui.PersistableCElementFactory" path="/cmsysTestDynload" type="4"/>
		<item factoryID="org.eclipse.cdt.ui.PersistableCElementFactory" path="/cmsysTestDynload" type="4"/>
		<item factoryID="org.eclipse.cdt.ui.PersistableCElementFactory" path="/cmsysTestProcess" type="4"/>
		<item factoryID="org.eclipse.cdt.ui.PersistableCElementFactory" path="/cmsysTestProcess" type="4"/>
		<item factoryID="org.eclipse.cdt.ui.PersistableCElementFactory" path="/cmsysTestSharedForward" type="4"/>
		<item factoryID="org.eclipse.cdt.ui.PersistableCElementFactory" path="/cmsysTestSharedForward" type="4"/>
		<item factoryID="org.eclipse.cdt.ui.PersistableCElementFactory" path="/cmsysTestsC" type="4"/>
		<item factoryID="org.eclipse.cdt.ui.PersistableCElementFactory" path="/cmsysTestsC" type="4"/>
		<item factoryID="org.eclipse.cdt.ui.PersistableCElementFactory" path="/cmsysTestsCxx" type="4"/>
		<item factoryID="org.eclipse.cdt.ui.PersistableCElementFactory" path="/cmsysTestsCxx" type="4"/>
		<item factoryID="org.eclipse.cdt.ui.PersistableCElementFactory" path="/cmsys_c" type="4"/>
		<item factoryID="org.eclipse.cdt.ui.PersistableCElementFactory" path="/cmsys_c" type="4"/>
		<item factoryID="org.eclipse.cdt.ui.PersistableCElementFactory" path="/cmlibarchive" type="4"/>
		<item factoryID="org.eclipse.cdt.ui.PersistableCElementFactory" path="/cmlibarchive" type="4"/>
	</workingSet>
	<workingSet editPageId="org.eclipse.cdt.ui.CElementWorkingSetPage" id="CMake/ALL" label="CMake/ALL" name="CMake/ALL">
		<item factoryID="org.eclipse.cdt.ui.PersistableCElementFactory" path="/@CMAKE_FORM" type="4"/>
		<item factoryID="org.eclipse.cdt.ui.PersistableCElementFactory" path="/@CMCompress" type="4"/>
		<item factoryID="org.eclipse.cdt.ui.PersistableCElementFactory" path="/@CMEXPAT" type="4"/>
		<item factoryID="org.eclipse.cdt.ui.PersistableCElementFactory" path="/@CMZLIB" type="4"/>
		<item factoryID="org.eclipse.cdt.ui.PersistableCElementFactory" path="/@CMake" type="4"/>
		<item factoryID="org.eclipse.cdt.ui.PersistableCElementFactory" path="/@cmsys" type="4"/>
		<item factoryID="org.eclipse.cdt.ui.PersistableCElementFactory" path="/@CMZLIB" type="4"/>
		<item factoryID="org.eclipse.cdt.ui.PersistableCElementFactory" path="/@LIBCURL" type="4"/>
		<item factoryID="org.eclipse.cdt.ui.PersistableCElementFactory" path="/@CMCompress" type="4"/>
		<item factoryID="org.eclipse.cdt.ui.PersistableCElementFactory" path="/@bzip2" type="4"/>
		<item factoryID="org.eclipse.cdt.ui.PersistableCElementFactory" path="/@libarchive" type="4"/>
		<item factoryID="org.eclipse.cdt.ui.PersistableCElementFactory" path="/@libarchive" type="4"/>
		<item factoryID="org.eclipse.cdt.ui.PersistableCElementFactory" path="/@CMEXPAT" type="4"/>
		<item factoryID="org.eclipse.cdt.ui.PersistableCElementFactory" path="/@CMAKE_FORM" type="4"/>
		<item factoryID="org.eclipse.cdt.ui.PersistableCElementFactory" path="/@CMake" type="4"/>
		<item factoryID="org.eclipse.cdt.ui.PersistableCElementFactory" path="/@CMake" type="4"/>
		<item factoryID="org.eclipse.cdt.ui.PersistableCElementFactory" path="/@CMake" type="4"/>
		<item factoryID="org.eclipse.cdt.ui.PersistableCElementFactory" path="/@CMake" type="4"/>
		<item factoryID="org.eclipse.cdt.ui.PersistableCElementFactory" path="/@CMake" type="4"/>
		<item factoryID="org.eclipse.cdt.ui.PersistableCElementFactory" path="/@CMake" type="4"/>
		<item factoryID="org.eclipse.cdt.ui.PersistableCElementFactory" path="/@CMake" type="4"/>
		<item factoryID="org.eclipse.cdt.ui.PersistableCElementFactory" path="/@LIBCURL" type="4"/>
		<item factoryID="org.eclipse.cdt.ui.PersistableCElementFactory" path="/@bzip2" type="4"/>
		<item factoryID="org.eclipse.cdt.ui.PersistableCElementFactory" path="/@cmsys" type="4"/>
		<item factoryID="org.eclipse.cdt.ui.PersistableCElementFactory" path="/@libarchive" type="4"/>
		<item factoryID="org.eclipse.cdt.ui.PersistableCElementFactory" path="/@libarchive" type="4"/>
	</workingSet>
	<workingSet editPageId="org.eclipse.cdt.ui.CElementWorkingSetPage" id="CMake/CTestDashboardTargets" label="CMake/CTestDashboardTargets" name="CMake/CTestDashboardTargets">
		<item factoryID="org.eclipse.cdt.ui.PersistableCElementFactory" path="/Continuous" type="4"/>
		<item factoryID="org.eclipse.cdt.ui.PersistableCElementFactory" path="/ContinuousBuild" type="4"/>
		<item factoryID="org.eclipse.cdt.ui.PersistableCElementFactory" path="/ContinuousConfigure" type="4"/>
		<item factoryID="org.eclipse.cdt.ui.PersistableCElementFactory" path="/ContinuousCoverage" type="4"/>
		<item factoryID="org.eclipse.cdt.ui.PersistableCElementFactory" path="/ContinuousMemCheck" type="4"/>
		<item factoryID="org.eclipse.cdt.ui.PersistableCElementFactory" path="/ContinuousStart" type="4"/>
		<item factoryID="org.eclipse.cdt.ui.PersistableCElementFactory" path="/ContinuousSubmit" type="4"/>
		<item factoryID="org.eclipse.cdt.ui.PersistableCElementFactory" path="/ContinuousTest" type="4"/>
		<item factoryID="org.eclipse.cdt.ui.PersistableCElementFactory" path="/ContinuousUpdate" type="4"/>
		<item factoryID="org.eclipse.cdt.ui.PersistableCElementFactory" path="/Experimental" type="4"/>
		<item factoryID="org.eclipse.cdt.ui.PersistableCElementFactory" path="/ExperimentalBuild" type="4"/>
		<item factoryID="org.eclipse.cdt.ui.PersistableCElementFactory" path="/ExperimentalConfigure" type="4"/>
		<item factoryID="org.eclipse.cdt.ui.PersistableCElementFactory" path="/ExperimentalCoverage" type="4"/>
		<item factoryID="org.eclipse.cdt.ui.PersistableCElementFactory" path="/ExperimentalMemCheck" type="4"/>
		<item factoryID="org.eclipse.cdt.ui.PersistableCElementFactory" path="/ExperimentalStart" type="4"/>
		<item factoryID="org.eclipse.cdt.ui.PersistableCElementFactory" path="/ExperimentalSubmit" type="4"/>
		<item factoryID="org.eclipse.cdt.ui.PersistableCElementFactory" path="/ExperimentalTest" type="4"/>
		<item factoryID="org.eclipse.cdt.ui.PersistableCElementFactory" path="/ExperimentalUpdate" type="4"/>
		<item factoryID="org.eclipse.cdt.ui.PersistableCElementFactory" path="/Nightly" type="4"/>
		<item factoryID="org.eclipse.cdt.ui.PersistableCElementFactory" path="/NightlyBuild" type="4"/>
		<item factoryID="org.eclipse.cdt.ui.PersistableCElementFactory" path="/NightlyConfigure" type="4"/>
		<item factoryID="org.eclipse.cdt.ui.PersistableCElementFactory" path="/NightlyCoverage" type="4"/>
		<item factoryID="org.eclipse.cdt.ui.PersistableCElementFactory" path="/NightlyMemCheck" type="4"/>
		<item factoryID="org.eclipse.cdt.ui.PersistableCElementFactory" path="/NightlyMemoryCheck" type="4"/>
		<item factoryID="org.eclipse.cdt.ui.PersistableCElementFactory" path="/NightlyStart" type="4"/>
		<item factoryID="org.eclipse.cdt.ui.PersistableCElementFactory" path="/NightlySubmit" type="4"/>
		<item factoryID="org.eclipse.cdt.ui.PersistableCElementFactory" path="/NightlyTest" type="4"/>
		<item factoryID="org.eclipse.cdt.ui.PersistableCElementFactory" path="/NightlyUpdate" type="4"/>
	</workingSet>
</workingSets>


More information about the cmake-developers mailing list