Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[cdt-dev] CMake "Eclipse CDT4" Makefile Generator

Hi,

in a previous discussion of the "Eclipse CDT4" Makefile Generator (might have been in a CDT Call), the conclusion was it was legacy and no one knew much about it or where it was used. Well, recently I came across a use of it (in Erich Styger's blog), which I thought I'd share for interest.

https://mcuoneclipse.com/2022/09/04/tutorial-creating-bare-bare-embedded-projects-with-cmake-with-eclipse-included/

It uses CMake with the generator -G "Eclipse CDT4 - Unix Makefiles" which creates Eclipse project files which are then imported as existing project into NXP MCUXpresso IDE

The generator "Eclipse CDT4" is now deprecated since version 3.27 of CMake: 

Eclipse CDT4
https://cmake.org/cmake/help/latest/generator/Eclipse%20CDT4.html

Hope this helps anyone who is trying to use this deprecated generator.

The CMake advice is to switch to using cmake-file-api. Is anyone aware of an Eclipse Java implementations of this?

Cheers John Moule


Back to the top