I have issues locally, where an outdated git revision is shown in the window title.
The app_version.h generator isn't ran because that file exists already.
This adds a fake target OUTPUT file (.generated) to the app_version.h generator.
As that file is never created, it will force recreation of app_version.h.
create_app_version.cmake will still parse the existing file to check if it has to be updated.
The .generated can be created manually to stop the generator from being ran.
I have issues locally, where an outdated git revision is shown in the window title. The app_version.h generator isn't ran because that file exists already.
This adds a fake target
OUTPUT
file (.generated) to the app_version.h generator. As that file is never created, it will force recreation of app_version.h. create_app_version.cmake will still parse the existing file to check if it has to be updated.The .generated can be created manually to stop the generator from being ran.