OBS Studio - Free and open source software for live streaming and screen recording
UI: Improve incremental compile times via explicit file includes
When a source file contains an explicit include with a filename following the "moc_<actual-filename>.cpp" pattern, then CMake's AUTOMOC generation tool will recognize the matching pair and generate the replacement header file and add the required include directory entries. For all files which do contain Q_OBJECT or similar declarations but do not have an explicit include directive, the global mocs_compilation.cpp file will still be generated (which groups all "missing" generated headers). The larger this global file is, the more expensive incremental compilation will be as this file (and all its contained generated headers) will be re-generated regardless of whether actual changes occurred.
P
PatTheMav committed
710d99ef4d1ba687ed23fa1927e0ebf992c5bcce
Parent: ab6ecde
Committed by Ryan Foster <ryan@obsproject.com>
on 8/22/2024, 8:45:12 PM