Compiling (Part1)- Speeding Up Compilation Using CCache, Ninja and Clang + Integration in Qt Creator

KDAB
KDAB
3.2 هزار بار بازدید - 3 سال پیش - I recently switched back to
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/m...

All Qt Widgets and more videos:
Qt Widgets and more

About the host:
The video is presented by Jesper Pedersen, who started with Qt back when Qt was widgets only and the version was 1.44, which gives him 21 years of experience with Qt. Since 2000 he has taught almost 100 Qt classes, ranging from Qt Widgets to QML. Heck, Jesper even taught a few classes on QTopia Core — Trolltech's initial attempt at creating a phone stack. Today Jesper holds a fancy business title, but that doesn't prevent him from coding both in his job and in his spare time.

About KDAB:

KDAB offers experienced software experts to help you deliver functional, high-performing and innovative software across embedded, mobile and desktop platforms for projects using C++, Qt, QML/Qt Quick, OpenGL, Qt 3D and more.  https://www.kdab.com/software-services

KDAB experts regularly take time out to deliver KDAB’s world class training, in-house or at open enrollment courses around the world. We are the market leaders for training in Qt, OpenGL and C++.

Contact us to find out more at [email protected] or visit our website: https://www.kdab.com/software-service...

We are about 90 people, located all around the world. Our Head Office is in Sweden and we have other offices in Germany, France, the UK and the USA. https://www.kdab.com/about/contact/
3 سال پیش در تاریخ 1400/05/26 منتشر شده است.
3,234 بـار بازدید شده
... بیشتر