On Friday 11 November 2011, David Cole wrote: > On Fri, Nov 11, 2011 at 1:08 PM, David Doria <[email protected]> wrote: > > I saw a discussion about this back in March, but I didn't see any > > conclusions/resolutions. Is there a way to generate a QtCreator > > project using CMake? I tried the CMake support that was built into > > QtCreator itself, but it seems very awkward (you couldn't view/set > > variables, etc).
I think that's true for all project files generated by cmake. You set up most things in the CMakeLists.txt, and then use what cmake generates as project files. > > > > Thanks, > > > > David > > -- > > I think it's true that QtCreator knows how to connect to a CMake build > tree generated with the "CodeBlocks - Unix Makefiles" generator. > > Somebody out there, please correct me if I'm wrong. I don't use > QtCreator myself, but I think that's the way to do it. > > I've heard rumor you can simply open the top level CMakeLists.txt file > in QtCreator, too, and it knows how to find all the source based on > that. When opening a project from a CMakeLists.txt in CodeBlocks, it runs cmake on the CMakeLists.txt with the CodeBlocks generator, and loads the resulting codeblocks project file. The one which parses the cmake files itself and reimplements most cmake commands is KDevelop4. Alex -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake
