mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-05-23 14:41:33 -04:00
157f4f9df2
* Rebrand * Revert Info.plist.in * Think, Mark!
27 lines
776 B
C
27 lines
776 B
C
#ifndef VERSION_H
|
|
#define VERSION_H
|
|
|
|
#define DUSK_WC_DESCRIBE "@DUSK_WC_DESCRIBE@"
|
|
#define DUSK_VERSION_STRING "@DUSK_VERSION_STRING@"
|
|
|
|
#define DUSK_WC_BRANCH "@DUSK_WC_BRANCH@"
|
|
#define DUSK_WC_REVISION "@DUSK_WC_REVISION@"
|
|
#define DUSK_WC_DATE "@DUSK_WC_DATE@"
|
|
#define DUSK_BUILD_TYPE "@CMAKE_BUILD_TYPE@"
|
|
|
|
#if defined(__x86_64__) || defined(_M_AMD64)
|
|
#define DUSK_ARCH "x86_64"
|
|
#elif defined(__i386__) || defined(_M_IX86)
|
|
#define DUSK_ARCH "x86"
|
|
#elif defined(__aarch64__) || defined(_M_ARM64)
|
|
#define DUSK_ARCH "arm64"
|
|
#endif
|
|
|
|
#define DUSK_PLATFORM_NAME "@PLATFORM_NAME@"
|
|
#define DUSK_DLPACKAGE "dusklight-@DUSK_WC_DESCRIBE@-" DUSK_PLATFORM_NAME "-" DUSK_ARCH
|
|
|
|
#define DUSK_SENTRY_DSN "@DUSK_SENTRY_DSN@"
|
|
#define DUSK_SENTRY_ENVIRONMENT "@DUSK_SENTRY_ENVIRONMENT@"
|
|
|
|
#endif
|