ultimatepp/uppsrc/ide/BuildInfo.cpp
2025-03-13 21:04:22 +01:00

37 lines
666 B
C++

// we place this in separate file to speedup compilation
// otherwise About.cpp has to be compiled each time as build_info.h is always new
// and compiling this minimal file is much faster
#include <build_info.h>
int bm_YEAR = bmYEAR;
int bm_MONTH = bmMONTH;
int bm_DAY = bmDAY;
int bm_HOUR = bmHOUR;
int bm_MINUTE = bmMINUTE;
int bm_SECOND = bmSECOND;
const char *bm_MACHINE = bmMACHINE;
const char *bm_USER = bmUSER;
const char *bm_GIT_BRANCH =
#ifdef bmGIT_BRANCH
bmGIT_BRANCH
#else
""
#endif
;
const char *bm_GIT_REVCOUNT =
#ifdef bmGIT_REVCOUNT
bmGIT_REVCOUNT
#else
""
#endif
;
const char *bm_GIT_HASH =
#ifdef bmGIT_HASH
bmGIT_HASH
#else
""
#endif
;