Re: [CMake] Converting a large C++-Project to CMake

2010-10-31 Thread Benjamin King
Hi Karl! I'm currently (as a consultant) converting ~2.5 Mio LOC C++/C from vcproj/Makefiles/qmake to cmake. Can you say something of the motivations for your client to do this? I suspect that you are expected to keep most of their development workflow and processes in order. Which parts a

Re: [CMake] Converting a large C++-Project to CMake

2010-10-31 Thread Benjamin King
Hi Pedro! Windows and nmake don't offer any feasible way to parallelize, so we are stuck there. If you haven't already, you might want to take a lot at JOM, which is essentially parallel nmake: http://qt.gitorious.org/qt-labs/jom. JOM is supported by CMake. Thank you Pedro. One of our develo

Re: [CMake] Converting a large C++-Project to CMake

2010-10-31 Thread Benjamin King
Hello Alex! [Dependencies to generated files are] handled properly by cmake-generated > makefiles and project files. You use add_custom_command() to generate files, and if you really list all files the custom command generates after the OUTPUT keyword, parallel builds will work properly. Gre

Re: [CMake] Converting a large C++-Project to CMake

2010-10-31 Thread Benjamin King
Hi Alan! Our build is taking ages (almost a three hours on the fastest of our servers) and it would be really painful if everybody needed to rebuild everything for himself in the morning. Aren't you distributing your source code with some tool that preserves the creation dates of source files

Re: [CMake] Converting a large C++-Project to CMake

2010-10-31 Thread Benjamin King
Hi Andreas! Our build is taking ages (almost a three hours on the fastest of our servers) and it would be really painful if everybody needed to rebuild everything for himself in the morning. 3 hours sounds quite excessively long. Yepp, that's too long, really. Thanks for your suggestions on cut

[CMake] Converting a large C++-Project to CMake

2010-10-30 Thread Benjamin King
Hello, I'm working on a ~1.5Mio LOC C++ project and our buildsystem is a hodgepodge of handcrafted Makefiles, shell scripts and qmake projects. I tried to convert a subset to CMake and it looks very promising so far. One important part of our development workflow is this: 1) User 'nightly' bui