build: change to xmake mgr.

This commit is contained in:
2025-07-05 23:26:12 +08:00
parent 1bf98cd0f7
commit a65764dd5b
27 changed files with 220 additions and 424 deletions

View File

@@ -1,9 +1,12 @@
#ifndef VERSION_H
#define VERSION_H
#ifndef VERSION
#define VERSION
#define VERSION_GIT_COMMIT "@VERSION_GIT_HASH@"
#define VERSION_GIT_BRANCH "@VERSION_GIT_BRANCH@"
#define VERSION_NUM "@PROJECT_VERSION@"
#define VERSION_URL "@PROJECT_URL@"
#define VERSION_MAJOR ${VERSION_MAJOR}
#define VERSION_MINOR ${VERSION_MINOR}
#define VERSION_ALTER ${VERSION_ALTER}
#define VERSION_BUILD ${VERSION_BUILD}
#endif
#define VERSION_GIT_COMMIT "${GIT_COMMIT}"
#define VERSION_GIT_BRANCH "${GIT_BRANCH}"
#endif