Re: [CMake] Parallel build setup question

2018-02-18 Thread Cornelis Bockemühl
Just to close this thread: Also the ninja tipp turned out to be a very good one! I did the same full built (clear - rebuild) with ninja instead of make -j4 and times were more or less comparable: from initially 23 minutes down to 13-14 with make, and 12-13 with ninja. However, what is much more hel

Re: [CMake] Parallel build setup question

2018-02-16 Thread Cornelis Bockemühl
Thanks also for this hint: I will give it a try! Regards, Cornelis Am Freitag, den 16.02.2018, 21:35 +0300 schrieb Konstantin Tokarev: > > > 16.02.2018, 21:32, "Cornelis Bockemühl" : > > Thanks - that did the trick! > > > > > > > > And indeed by entering -j4 in the "Tool arguments" field, the b

Re: [CMake] Parallel build setup question

2018-02-16 Thread Konstantin Tokarev
16.02.2018, 21:32, "Cornelis Bockemühl" : > Thanks - that did the trick! > > And indeed by entering -j4 in the "Tool arguments" field, the build command > changes "magically" into "cmake --build . --target all -- -j4" - with the > "--" to pass the argument further to gmake. > > Actually compile

Re: [CMake] Parallel build setup question

2018-02-16 Thread Cornelis Bockemühl
Thanks - that did the trick! And indeed by entering -j4 in the "Tool arguments" field, the build command changes "magically" into "cmake --build . --target all -- -j4" - with the "--" to pass the argument further to gmake. Actually compile time of my project after a "clean" went down from 23 to

Re: [CMake] Parallel build setup question

2018-02-16 Thread Konstantin Tokarev
  16.02.2018, 20:20, "Cornelis Bockemühl" :Thanks for your hints! And you are right: it is still interesting to know how QtCreator is actually invoking and using cmake.You should go to project settings and change cmake --build arguments there  This is the beginning of a log that the QtCreator was g

Re: [CMake] Parallel build setup question

2018-02-16 Thread Cornelis Bockemühl
Thanks for your hints! And you are right: it is still interesting to know how QtCreator is actually invoking and using cmake. This is the beginning of a log that the QtCreator was generating during a build. Actually with two modules where nothing had to be done, but still showing how cmake and gma

Re: [CMake] Parallel build setup question

2018-02-16 Thread Michael Ellery
I don’t know anything about QTCreator, but the question really boils down to how to get your IDE to pass extra args to the build tool - it’s not really a cmake issue except to the extent that CMake can be used to invoke the build step (after it has been used to generate the build). It sounds li

[CMake] Parallel build setup question

2018-02-16 Thread Cornelis Bockemühl
Hello, Somehow I seem to miss some crucial point regarding setup for parallel build with CMake, so I would be happy if somebody can push me the last few millimeters to hit my target! My configuration is on OpenSuse Linux (Leap - 64-bit), working with QtCreator and CMake, using the "make" configur