Reputation: 289
I'm looking for an IDE that automatically generates a cmake file from the project. Ideally I would like the project to be independent of the IDE. I am mainly working under linux but Windows is a major (and great) OS so ideally it would run on Windows as well. I'm not too bothered about that though as on Windows there is VS :).
Regards
EDIT: Yeah, I sort of see my mistake. I should have asked for an IDE that generates makefiles instead of cmake files since the cmake layer/step becomes useless (if the IDE can directly generate a makefile).
Upvotes: 1
Views: 1795
Reputation: 25657
The purpose of CMake is to generate the Makefiles
and projects that other development environments rely on, so what you're asking seems a little backwards. CMake is exactly the tool that does what you're asking to do, but in a different direction.
That said, KDevelop 4 has the option to use CMakeLists.txt
files instead of the usual project file, but it doesn't work very well, and I've given up on trying to use it. Instead I edit the CMakeLists.txt
file by hand - and KDevelop helpfully updates the GUI appropriately to reflect my changes.
Upvotes: 2