area: buildsystemgood first issueimprovementjust do it
Metriche repository
- Star
- (12.130 star)
- Metriche merge PR
- (Merge medio 9g 23h) (1 PR mergiata in 30 g)
Descrizione
When the value of git describe changes, we should trigger a reconfigure when typing make. This ensures the version generated to config.h matches with the actual repository version.
The "dirty" solution would be checking for the version each time, something better would be a update watch on some file in ./.git/, but maybe you have a better idea how cmake may detect a changed HEAD efficiently.