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

Avoid including scmrev.h except in Version.cpp #9732

Merged
merged 1 commit into from May 21, 2021

Conversation

JosJuice
Copy link
Member

Any file which includes scmrev.h must be rebuilt when scmrev.h is regenerated. By not including scmrev.h from any file other than Version.cpp, incremental builds become a little faster.

@Dentomologist
Copy link
Contributor

If we defined scm_update_track_str in Version we could get rid of the scmrev.h include in ConfigManager.cpp as well.

Any file which includes scmrev.h must be rebuilt when scmrev.h
is regenerated. By not including scmrev.h from any file other
than Version.cpp, incremental builds become a little faster.
@JosJuice
Copy link
Member Author

Done. I didn't actually know about that one.

@lioncash lioncash merged commit 7d8c3ff into dolphin-emu:master May 21, 2021
10 of 11 checks passed
@JosJuice JosJuice deleted the avoid-including-scmrev branch May 21, 2021 15:26
SCM_REV_STR :
Common::scm_rev_str :
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be scm_rev_git_str; scm_rev_str is defined as something else in Version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants