mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-13 16:45:20 +02:00
Show git hash in version string at top left corner of window
This commit is contained in:
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
|
||||
|
Reference in New Issue
Block a user