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

2010-11-01 Thread Michael Wild
On 1. Nov, 2010, at 5:53 , Benjamin King wrote: 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

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

2010-11-01 Thread Verweij, Arjen
Benjamin, 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 developers already tried to plug jom into our current build system, but some trouble with

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

2010-11-01 Thread Michael Jackson
There has since been a 1.0 release which seems to work very well. ftp://ftp.qt.nokia.com/jom/jom.zip ___ Mike Jackson www.bluequartz.net On Nov 1, 2010, at 7:35 AM, Verweij, Arjen wrote: Benjamin, If you haven't

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

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

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

2010-10-31 Thread Alexander Neundorf
On Sunday 31 October 2010, Benjamin King wrote: 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,

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

2010-10-31 Thread Alan W. Irwin
On 2010-10-31 13:48+0100 Benjamin King wrote: 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

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

2010-10-31 Thread Pedro d'Aquino
On Sun, Oct 31, 2010 at 10:42 AM, Benjamin King benjamink...@web.de wrote: 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

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

2010-10-31 Thread Karl Wallner
Am 30.10.2010 13:54, schrieb 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. I'm currently (as a

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.

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

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

[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'

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

2010-10-30 Thread Andreas Mohr
Hi, On Sat, Oct 30, 2010 at 12:00:03PM -0400, cmake-requ...@cmake.org wrote: Message: 1 Date: Sat, 30 Oct 2010 13:54:23 +0200 From: Benjamin King benjamink...@web.de Subject: [CMake] Converting a large C++-Project to CMake To: cmake@cmake.org Message-ID: 4ccc076f.6040...@web.de Content

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

2010-10-30 Thread Alan W. Irwin
On 2010-10-30 13:54+0200 Benjamin King wrote: 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