SFTtech/openage
Ver no GitHubTrigger reconfigure when git commit hash changes
Open
#381 aberto em 15 de set. de 2015
area: buildsystemgood first issueimprovementjust do it
Métricas do repositório
- Stars
- (12.130 stars)
- Métricas de merge de PR
- (Mesclagem média 9d 23h) (1 fundiu PR em 30d)
Description
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.