mirror of
https://github.com/KytyPS5/KytyPS5.git
synced 2026-10-20 10:56:58 +02:00
822ffba313
* feat: identify build provenance in the crash log report * cmake: reuse git version dependency target --------- Co-authored-by: nmzik <Nmzik@mail.ru>
14 lines
457 B
C
14 lines
457 B
C
#include "cmake_config.h"
|
|
|
|
#define KYTY_GIT_VERSION "@KYTY_GIT_VERSION@"
|
|
#define KYTY_GIT_HASH "@KYTY_GIT_HASH@"
|
|
|
|
/* Build provenance, shown in the window title and in crash reports. */
|
|
#if defined(KYTY_OFFICIAL_BUILD)
|
|
#define KYTY_BUILD_LABEL "Official build " KYTY_RELEASE_TAG
|
|
#elif defined(KYTY_FORK_BUILD)
|
|
#define KYTY_BUILD_LABEL "Fork build " KYTY_BUILD_REPOSITORY " " KYTY_GIT_HASH
|
|
#else
|
|
#define KYTY_BUILD_LABEL "Source build " KYTY_GIT_HASH
|
|
#endif
|