[Qt-creator] QtCreator 4.3 Beta and CMake 3.7.x Server Mode Slowness
Tobias Hunger
Tobias.Hunger at qt.io
Wed Mar 29 14:59:50 CEST 2017
On Wed, 2017-03-29 at 08:10 -0400, Mike Jackson wrote:
> I have been using the nightlies and the time to open our project
> (DREAM.3D) is getting better but still can induce a spinning beach ball
> on my macOS 10.10 machine (12 Core Xeon with SSD).
Please try again with the upcoming nightly builds. For Cristian they make things
work better: Initial project tree setup went down from 140s to 2s for his
project. I hope you will see similar results.
In master I want to move the whole project tree creation into a thread.
Unfortunately the preparation took too long to get this into 4.3 :-/
> One of the issues that I wanted to make sure that you are also seeing is
> the "Multiple Targets" issue where we get executables that are numbered
> like DREAM3D,DREAM3D2,DREAM3D3.
That is still on my Todo list, sorry.
> There is also an issue with multiple "Source Directory" and "Build
> Directory" showing up in each target in the projects view. I have a
> feeling that some of this may be how we are using CMake?
It probably is: I do not see that issue with my projects. But Cristian has
reported the same issue, so you are not alone:-)
> Our project as
> a whole ends up having multiple "project(...)" invocations.
That _should_ be safe with server mode (and ignored in the tealeaf reader).
> Also is
> there an implicit assumption the for each "CMakeLists.txt" is a project?
No. The Project is basically just a kind of tag that gets assigned to the
CMakeLists.txt files that contain PROJECT.
> In our plugins we use CMakeLists.txt files BUT they do not have a
> "project()" call in them and they are included with "include()" instead
> of "add_subdirectory()" which might make a difference.
That might be what is causing the multiple Source directories. I'll need to look
into that.
> Thanks for moving the CMake integration forward.
You are welcome.
Best Regards,
Tobias
--
Tobias Hunger, Senior Software Engineer | The Qt Company
The Qt Company GmbH, Rudower Chaussee 13, D-12489 Berlin
Geschäftsführer: Mika Pälsi, Juha Varelius, Mika Harjuaho. Sitz der Gesellschaft: Berlin, Registergericht: Amtsgericht Charlottenburg, HRB 144331 B
More information about the Qt-creator
mailing list