Sign up for the KDAB Newsletter
Stay on top of the latest news, publications, events and more.
Go to Sign-up
Find what you need - explore our website and developer resources
17 August 2021
I recently switched back to Linux and did some experimentation and a lot of timing on how to speed up my compile time. This video tells that story and covers:
- Make vs Ninja
- Clang vs Gcc
- The effect of using CCache
Some of the material is indeed Linux specific, while other sections apply just as well on Mac and Windows.
0:00 Intro
0:52 My code base
1:35 make vs. Ninja
3:30 Setting up Ninja from the command line
4:20 Setting up Ninja in Qt Creator
5:16 make vs. Ninja when nothing needs to be done
7:13 GCC vs. Clang
8:35 Changing to Clang
9:31 Changing to Clang from within Qt Creator
10:56 CCache
13:25 Setting up CCache in Qt Creator
13:45 CCache alternatives on Windows
15:24 Outro
This is part 1 of 2 in a small mini-series on speeding up compilation.
The example code showcased in this video is available here:
https://github.com/KDAB/kdabtv/tree/master/Qt-Widgets-and-more/compileTime
All Qt Widgets and more videos:
https://www.youtube.com/playlist?list=PL6CJYn40gN6gf-G-o6syFwGrtq3kItEqI