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

Need to rebuild targets when their config changed #65

Open
GPMueller opened this issue Sep 15, 2018 · 1 comment
Open

Need to rebuild targets when their config changed #65

GPMueller opened this issue Sep 15, 2018 · 1 comment
Labels
enhancement New feature or request

Comments

@GPMueller
Copy link
Contributor

The question is whether all targets from a project file should be rebuilt when the file is changed, or whether we should actually track changes per target.
The latter could be done with a meta-information file inside the target build folder.

@GPMueller GPMueller added the enhancement New feature or request label Sep 15, 2018
@GPMueller
Copy link
Contributor Author

GPMueller commented Jun 14, 2020

It seems to me the way to implement this would not be to compare the modification time of a project's config file against the dates of object files etc.
Instead, complimentary to issue #48, we could use hashlib to hash the config of each target and save it as build/.../targetname/buildtype/hash/config.hash. On building a target, we can check whether the config hash has changed and, if so, rebuild the whole target.

@GPMueller GPMueller pinned this issue Jul 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant