2 Commits

Author SHA1 Message Date
08365fb260 Windows: add a VERSIONINFO resource to the puzzle binaries.
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.
2023-11-19 15:12:47 +00:00
8ff394d1cc Toolchain file for MinGW cross-compilation.
Cribbed from the PuTTY one. Use with something like
cmake . -DCMAKE_TOOLCHAIN_FILE=cmake/toolchain-mingw.cmake
2021-04-27 11:06:44 +01:00