mirror of https://github.com/AxioDL/metaforce.git
28 lines
844 B
C
28 lines
844 B
C
#ifndef VERSION_H
|
|
#define VERSION_H
|
|
|
|
#ifndef _SYS_STR
|
|
#ifdef _WIN32
|
|
#define _SYS_STR(val) L##val
|
|
#else
|
|
#define _SYS_STR(val) val
|
|
#endif
|
|
#endif
|
|
|
|
#define METAFORCE_WC_DESCRIBE "@METAFORCE_WC_DESCRIBE@"
|
|
#define METAFORCE_WC_DESCRIBE_SYS _SYS_STR("@METAFORCE_WC_DESCRIBE@")
|
|
#define METAFORCE_VERSION_STRING "@METAFORCE_VERISON_STRING@"
|
|
|
|
#define METAFORCE_WC_BRANCH "@METAFORCE_WC_BRANCH@"
|
|
#define METAFORCE_WC_REVISION "@METAFORCE_WC_REVISION@"
|
|
#define METAFORCE_WC_DATE "@METAFORCE_WC_DATE@"
|
|
#define METAFORCE_BUILD_TYPE "@CMAKE_BUILD_TYPE@"
|
|
|
|
#if defined(__x86_64__) || defined(_M_AMD64)
|
|
#define METAFORCE_DLPACKAGE "metaforce-@METAFORCE_WC_DESCRIBE@-@PLATFORM_NAME@-x86_64-@METAFORCE_VECTOR_ISA@"
|
|
#elif defined(__aarch64__) || defined(_M_ARM64)
|
|
#define METAFORCE_DLPACKAGE "metaforce-@METAFORCE_WC_DESCRIBE@-@PLATFORM_NAME@-arm64"
|
|
#endif
|
|
|
|
#endif
|