Re: [CMake] Parallel execution

2010-07-11 Thread Michael Wild
On 11. Jul, 2010, at 20:00 , Angel Tsankov wrote: > Can cmake take advantage of multi-core CPUs and run several jobs > simultaneously? > > Regards, > Angel Tsankov Not CMake itself, no. But if you use a GNU Makefile based generator or the Xcode generator (I don't know about the others...), yo

Re: [CMake] Parallel execution

2010-07-11 Thread norulez
CMake is only a Makefile generator. You can use make -j8 or mingw-make -j8 after Makefile generation Am 11.07.2010 um 20:00 schrieb Angel Tsankov : > Can cmake take advantage of multi-core CPUs and run several jobs > simultaneously? > > Regards, > Angel Tsankov > > ___

[CMake] Parallel execution

2010-07-11 Thread Angel Tsankov
Can cmake take advantage of multi-core CPUs and run several jobs simultaneously? Regards, Angel Tsankov ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep message

[CMake] Quieting/speeding output

2010-07-11 Thread Kevin Fitch
I am transitioning from a make based build system to cmake, overall I am quite happy with cmake, but currently there are two snags: 1) The main project I am doing this on is quite large, it produces about 300 targets. So, when I type 'make' I get 300 or so lines of "[ 27%] Built target blah..." ev

Re: [CMake] /MD versus /MT

2010-07-11 Thread David Cole
If the generated makefiles have /MT, but the cache has /MD in it, then there is some "local variable" override of the flags in one of the CMakeLists.txt files. Normal and expected not necessarily anything to be concerned about as long as the code in the CMakeLists.txt file is manipulating the flags

Re: [CMake] Building a Version Header

2010-07-11 Thread Michael Hertling
On 07/09/2010 01:23 PM, Johannes Stallkamp wrote: > Am 09.07.2010 12:56, schrieb Michael Hertling: >> As the version target is always out of date it will be build each time >> you (re)build main, but since CONFIGURE_FILE() obviously does not touch >> the output file as long as it won't change, vers

Re: [CMake] building tests

2010-07-11 Thread Michael Hertling
On 07/10/2010 06:54 PM, Paul Harris wrote: > On 9 July 2010 22:39, Michael Wild wrote: > >> >> On 9. Jul, 2010, at 15:48 , Michael Hertling wrote: >> >>> On 07/08/2010 09:47 AM, Paul Harris wrote: On 8 July 2010 15:31, Michael Wild wrote: > > On 8. Jul, 2010, at 7:25 , Paul Har