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

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

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

Re: [CMake] OBJECT Library Type

2018-02-16 Thread Robert Maynard
As the error message states an OBJECT library can't consume other OBJECT libraries. When creating the actual library you will have to explicitly state what $ you need. If you are just looking at a way to simplify the logic for the consuming library you should look at doing the

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

[CMake] OBJECT Library Type

2018-02-16 Thread Simone Atzeni
Hi, I am trying to merge together two "OBJECT" libraries. I am following the tutorial at: https://cmake.org/Wiki/CMake/Tutorials/Object_Library However, in my case I have more level of folder nesting, and at the parent level I would like to merge two "OBJECT" libraries and only at the top I

[CMake] OBJECT Library Type

2018-02-16 Thread Simone Atzeni
Hi, I am trying to merge together two "OBJECT" libraries. I am following the tutorial at: https://cmake.org/Wiki/CMake/Tutorials/Object_Library However, in my case I have more level of folder nesting, and at the parent level I would like to merge two "OBJECT" libraries and only at the top I

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

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

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

[Cmake-commits] CMake branch, master, updated. v3.11.0-rc1-38-g3b6fe84

2018-02-16 Thread Kitware Robot
VERSION_MINOR 11) -set(CMake_VERSION_PATCH 20180216) +set(CMake_VERSION_PATCH 20180217) #set(CMake_VERSION_RC 1) --- Summary of changes: Source/CMakeVersion.cmake |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) hooks/

Re: [cmake-developers] CMake build with static crt and static QtDialog not linking

2018-02-16 Thread Stuermer, Michael SP/HZA-ZSEP
Hello Brad and thank you for your hints! To get everything working I decided to switch to the same Qt version for now and mimic the kitware-build: - Visual Studio: 2017 (15.5.5) - Qt 5.6.3 1) The debug version crashes in Source/QtDialog/FirstConfigure.cxx:566 when initializing a const

Re: [cmake-developers] CMake build with static crt and static QtDialog not linking

2018-02-16 Thread Brad King
On 2/16/2018 7:43 AM, Stuermer, Michael SP/HZA-ZSEP wrote: > 1) The debug version crashes in I don't know if we've ever built a debug configuration against this Qt. > This application failed to start because it could not find or load > the Qt platform plugin "windows" in "". We statically link

[Cmake-commits] CMake branch, master, updated. v3.11.0-rc1-34-gd97c9ff

2018-02-16 Thread Kitware Robot
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "CMake". The branch, master has been updated via d97c9ffb6c7189d5e617c1d69e8fe168e7813293 (commit) via

Re: [cmake-developers] CMake build with static crt and static QtDialog not linking

2018-02-16 Thread Stuermer, Michael SP/HZA-ZSEP
> > On 2/16/2018 7:43 AM, Stuermer, Michael SP/HZA-ZSEP wrote: > > 1) The debug version crashes in > > I don't know if we've ever built a debug configuration against this Qt. > > > This application failed to start because it could not find or load the > > Qt platform plugin "windows" in "". >

[Cmake-commits] CMake branch, master, updated. v3.11.0-rc1-37-g524696e

2018-02-16 Thread Kitware Robot
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "CMake". The branch, master has been updated via 524696ec1007408d5344ce08c1408a56be86b6eb (commit) via