mirror of
https://github.com/luanti-org/luanti.git
synced 2025-09-15 18:57:08 +00:00
Show git hash in version string at top left corner of window
This commit is contained in:
parent
372d638ec1
commit
8bc7ea61b9
16 changed files with 137 additions and 22 deletions
10
src/cmake_config_githash.h.in
Normal file
10
src/cmake_config_githash.h.in
Normal file
|
@ -0,0 +1,10 @@
|
|||
// Filled in by the build system
|
||||
// Separated from cmake_config.h to avoid excessive rebuilds on every commit
|
||||
|
||||
#ifndef CMAKE_CONFIG_GITHASH_H
|
||||
#define CMAKE_CONFIG_GITHASH_H
|
||||
|
||||
#define CMAKE_VERSION_GITHASH "@VERSION_GITHASH@"
|
||||
|
||||
#endif
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue