area: buildsystemgood first issueimprovementjust do it
倉庫指標
- Star
- (12,130 star)
- PR 合併指標
- (平均合併 9天 23小時) (30 天內合併 1 個 PR)
描述
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.