Description
Add Git branch hash to moonlight version
Purpose
When building versions from master it is hard to know which commit hash was used for building the binaries. This patch retrieves the branch name and hash and adds it to the configuration header file, which we late use for displaying moonlight versions in the command line. We also show the compile options used in the build:
pi@raspberrypi:~/moonlight-embedded-bin $ ./moonlight
Moonlight Embedded 2.4.10-git_hash_in_version-5fd8d91
Built with the following options:(PI;ALSA;PULSE;EMBEDDED)
Usage: moonlight [action] (options) [host]
moonlight [configfile]
Merged with commit 4528b78d81359c4f03c6b269d782a219a111d3b5 with some small changes to make it optional (in case it's compiled from the release tar archive)
Description Add Git branch hash to moonlight version Purpose When building versions from master it is hard to know which commit hash was used for building the binaries. This patch retrieves the branch name and hash and adds it to the configuration header file, which we late use for displaying moonlight versions in the command line. We also show the compile options used in the build: