Volker wrote:
Regarding the dynamic creation of CMakeList files I'm not aware of any tool. There is a CMake GUI but as I've never used it myself, I can't tell you what it is good for.
CMake GUI is only an visual alternative to 'cmake' command for building prepared CMake project.
My CMakeLists.txt was looking for source files in directories i wanted, and then after short regexp i had my source list inside a variable ready. It's just a couple lines of script.
It's not a 'right' solution though, because CMake is expecting you to change your CMakeLists.txt when new sources are added. It's using this information to regenerate all its scripts and 'cache', so you would have to
regenerate the cache manually. You could add this as your IDEs prebuild command, but this would slow down your building times.
As for more complete IDE support i don't know any but you might check if kdevelop, or qt creator has some.
CMakeLists.txt generation isn't widely supported, because generally people don't do that. You're not spending that much time by preparing this kind of script, and none automatic generator can be as flexible as your custom script.