Core: Move generated VERSION_HASH to a .cpp file
This lets us have its definition in `core/version.h` and avoid rebuilding a handful of files every time the commit hash changes.
This commit is contained in:
@ -68,4 +68,7 @@
|
||||
// Example: "Godot v3.1.4.stable.official.mono"
|
||||
#define VERSION_FULL_NAME "" VERSION_NAME " v" VERSION_FULL_BUILD
|
||||
|
||||
// Git commit hash, generated at build time in `core/version_hash.gen.cpp`.
|
||||
extern const char *const VERSION_HASH;
|
||||
|
||||
#endif // VERSION_H
|
||||
|
||||
Reference in New Issue
Block a user