axmol/core/axmolver.h.in

26 lines
765 B
C
Raw Normal View History

2023-06-12 09:14:23 +08:00
#pragma once
/* Define the axmol version */
// 0x00 HI ME LO
// 00 03 08 00
#define AX_VERSION_MAJOR 2
2023-09-22 19:40:40 +08:00
#define AX_VERSION_MINOR 1
#define AX_VERSION_PATCH 0
2023-06-12 09:14:23 +08:00
/* Define the axmol version string, easy for script parsing */
2023-09-22 19:40:40 +08:00
#define AX_VERSION_STR "2.1.0"
2023-06-12 09:14:23 +08:00
/* Define axmol version helper macros */
#define AX_VERSION_MAKE(a,b,c) ((a << 16) | (b << 8) | (c & 0xff))
#define AX_VERSION_NUM AX_VERSION_MAKE(AX_VERSION_MAJOR, AX_VERSION_MINOR, AX_VERSION_PATCH)
#define AX_VERSION AX_VERSION_NUM
/* Define to the library build number from git commit count */
#define AX_BUILD_NUM "${AX_BUILD_NUM}"
/* Define the branch being built */
#define AX_GIT_BRANCH "${AX_GIT_BRANCH}"
/* Define the hash of the head commit */
#define AX_GIT_COMMIT_HASH "${AX_GIT_COMMIT_HASH}"