-
Notifications
You must be signed in to change notification settings - Fork 104
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rebuilding targets when configurations change
In situations where configuration changes necessitate a rebuild of dependencies, such as due to feature modifications, these targets must be dependent on the build system itself. While this approach may not always be perfect, it ensures that we avoid using outdated artifacts in our builds. To enhance this process, we no longer rely on file timestamps but instead base dependencies on configurations. The relevant file is generated by a rule that always executes, but the target will only be updated if there are actual changes to the configuration content. This approach ensures that only substantial content alterations trigger an update to the file's timestamp.
- Loading branch information
Showing
2 changed files
with
19 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters