OpenSWE1R / openswe1r

An Open-Source port of the 1999 Game "Star Wars Episode 1: Racer"
https://openswe1r.github.io/
GNU General Public License v2.0
312 stars 26 forks source link

Always check if app_version.h needs to be generated #177

Closed JayFoxRox closed 5 years ago

JayFoxRox commented 5 years ago

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.