Cockatrice/cmake/pch
Lukas Brübach a03e4350b8
[Build] Add precompiled headers for Qt-backed executables
Reparsing QtCore/QtGui/QtWidgets/QtNetwork in ~460 client translation
units is the dominant compilation cost. Precompile the two common layers:
- qtcore_pch.h (Qt Core only; safe even for headless Servatrice)
- qtwidgets_pch.h (adds Gui/Widgets/Network; used by Cockatrice and Oracle)

target_precompile_headers() requires CMake 3.16, now the project minimum.
Estimated 30-50% faster client rebuilds.
2026-09-04 23:10:12 +02:00
..
qtcore_pch.h [Build] Add precompiled headers for Qt-backed executables 2026-09-04 23:10:12 +02:00
qtwidgets_pch.h [Build] Add precompiled headers for Qt-backed executables 2026-09-04 23:10:12 +02:00