Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] CMake support in Eclipse CDT

Am Montag, 30. November 2015, 12:20:23 schrieb Martin.Runge@xxxxxxxxxxxxxxxxx:
> Hi Martin, Hi Doug,

Hi Martin,

> Seems like we have multiple projects in parallel aiming to provide CMake 
> integration into CDT. Here is a link to my one (I would write 'the other 
> one', but I'not sure if there are only two... ) 

yes, I've seen that. But I never tried it, I could not find any binaries to 
install.

> https://github.com/rungemar/cmake4cdt
> much discussion was done here:
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=350206

>From the comments in that bug I think you plan to add a GUI that manages 
CMakeLists.txt. 
My plugin is much simpler: It uses the CMakeLists.txt provided/maintained by a  
user (SCM controlled) and generates the build scripts (for make & ninja), 
similar to the autotools plugin. It does not hassle with a tools-chain, the 
actual tool chain is defined by cmake and the CMakeLists.txt.

> I really would like to bundle forces to proceed faster or reach more 
> completion. I plan to continue working on it the next weeks to have 
> something we can use internally before starting to adopt to the new build 

the new build model: That's why I chimed in here: My plugin is already working 
(with the existing build model) and receives ~190 installs/month since I put 
it into the marketplace (May 2015).
Its code has lots of comments that denote my problems coding against the 
existing model.
Playing with it, its GUI may help the CDT team decide how a GUI for the 
planned cmake support should/should not look like [1].
Experience with my plugin may help the CDT team design the new build model.
If you or the CDT team come with a superior cmake support, it would be great.

> model. Unfortunately, I still spend much of my time figuring out the 
> internals of Eclipse and CDT and how to hook into them (like switching 

Oh, I hit that problem, too: The code/comment ratio in the CDT sources really 
does not attract new committers to join the CDT project:-) I saw many 
interesting interface with the sole comment '@noimplement'.

/Martin

[1] https://bugs.eclipse.org/bugs/show_bug.cgi?id=350206#c20

-- 
Cd wrttn wtht vwls s mch trsr.




Back to the top