[Chore] (...): Use Calender Versioning.

This commit is contained in:
BZLZHH
2025-12-07 09:41:25 +08:00
parent ecc91290cb
commit 1da2550774
5 changed files with 60 additions and 11 deletions
+3 -3
View File
@@ -39,7 +39,7 @@ if (MSVC)
set(CMAKE_CXX_FLAGS "/EHsc ${CMAKE_CXX_FLAGS}")
endif()
# Generate MGLGitHash.h
# Generate MGGitHash.h
execute_process(
COMMAND git rev-parse HEAD
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}
@@ -50,8 +50,8 @@ execute_process(
string(SUBSTRING "${GIT_COMMIT_HASH_FULL}" 0 7 GIT_COMMIT_HASH_SHORT)
configure_file(
${CMAKE_SOURCE_DIR}/MobileGL/MG_Util/Miscellany/MGLGitHash.h.in
${CMAKE_BINARY_DIR}/generated/MGLGitHash.h
${CMAKE_SOURCE_DIR}/MobileGL/MG_Util/Miscellany/MGGitHash.h.in
${CMAKE_BINARY_DIR}/generated/MGGitHash.h
@ONLY
)