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

Remove .h files from compilation process #727

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Conversation

kant2002
Copy link
Collaborator

There no need to have .h files as part of compilation,since only .c files produce something of value. .h included using preprocesor if needed.

There no need to have .h files as part of compilation,since only .c files produce something of value. .h included using preprocesor if needed.
@ForNeVeR ForNeVeR self-requested a review November 21, 2024 12:23
@ForNeVeR ForNeVeR self-assigned this Nov 21, 2024
@ForNeVeR
Copy link
Owner

ForNeVeR commented Dec 8, 2024

The general idea for their presence is that they are needed for proper incremental recompilation tracking.

If you remove them from the set of dependencies, then a change in .h file won't lead to project recompilation.

Which is, yeah, quite far from the ideal incremental tracking, but I'd say it's a quite practical solution (to do something better, we'd need to dive deep into .tlog-related logic in MSBuild, and I'd prefer to avoid this for the time being).

Why do you want to remove these? Are they causing any specific problems?

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.

2 participants