aboutsummaryrefslogtreecommitdiff
path: root/version.h (follow)
Commit message (Collapse)AuthorAge
* Windows: add a VERSIONINFO resource to the puzzle binaries.Simon Tatham2023-11-19
| | | | | | | | | | | | | | | This includes the textual version number in its existing form (yyyymmdd followed by an abbreviated git hash). The four-part binary version is set to 1 followed by year, month and day; if I ever want to change that, I can increment the initial 1. FileDescription is taken from the existing DESCRIPTION string provided to each puzzle() statement in CMakeLists.txt. This means that puzzles.rc now always defines at least one resource, so we can remove the workaround for MinGW's windres not being able to cope with an empty .rc file, which added a dummy resource in the absence of an icon.
* Provide a static version.h for development builds.Simon Tatham2014-09-27
I forgot to add this in last week's versioning revamp, meaning that dev builds straight from source control would fail for lack of version.h because Buildscr is the only thing that knows how to create it. Other projects that I restructured this way come with a static version of version.h so that local builds can still work; I forgot that in this one. [originally from svn r10274]