Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add includemocs.py and create one moc file per cpp file #59230

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

m-kuhn
Copy link
Member

@m-kuhn m-kuhn commented Oct 26, 2024

This creates an include moc file per source file, which is supposed to improve build times for incremental builds and have a few other positive effects.
https://planet.kde.org/friedrich-kossebau-2023-06-28-include-also-moc-files-of-headers/
It should also help to fix the requirement for /bigobj in some environments (not sure about the exact conditions under which this is required)

Copied from https://github.com/KDABLabs/KDToolBox/tree/master/qt/includemocs

Fixes #59157

@github-actions github-actions bot added this to the 3.42.0 milestone Oct 26, 2024
@m-kuhn m-kuhn changed the title Add includemocs.py Add includemocs.py and create one moc file per cpp file Oct 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

QGIS - Visual Studio build - Projects missing build options (/bigobj)
1 participant