Add Git repository branch name and commit hash injection into generated code module metadata
This commit is contained in:
@@ -595,7 +595,11 @@ void EngineImpl::InitLog()
|
||||
#if COMPILE_WITH_DEV_ENV
|
||||
LOG(Info, "Compiled for Dev Environment");
|
||||
#endif
|
||||
#if defined(FLAXENGINE_BRANCH) && defined(FLAXENGINE_COMMIT)
|
||||
LOG(Info, "Version " FLAXENGINE_VERSION_TEXT ", " FLAXENGINE_BRANCH ", " FLAXENGINE_COMMIT);
|
||||
#else
|
||||
LOG(Info, "Version " FLAXENGINE_VERSION_TEXT);
|
||||
#endif
|
||||
const Char* cpp = TEXT("?");
|
||||
if (__cplusplus == 202101L) cpp = TEXT("C++23");
|
||||
else if (__cplusplus == 202002L) cpp = TEXT("C++20");
|
||||
|
||||
Reference in New Issue
Block a user