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.

(cherry picked from commit 90162851a7)
This commit is contained in:
Rémi Verschelde
2022-02-08 20:50:37 +01:00
parent 6dbb67cc73
commit f50c7f7415
13 changed files with 27 additions and 40 deletions

View File

@ -152,6 +152,7 @@ env.core_sources += thirdparty_obj
env.add_source_files(env.core_sources, "*.cpp")
env.add_source_files(env.core_sources, "script_encryption_key.gen.cpp")
env.add_source_files(env.core_sources, "version_hash.gen.cpp")
# Certificates
env.Depends(