Move version into C file
This commit is contained in:
@@ -28,7 +28,6 @@
|
||||
#include "soundbank.h"
|
||||
|
||||
#include "list.h"
|
||||
#include "version.h"
|
||||
|
||||
static uint rng_seed = 0;
|
||||
|
||||
|
||||
@@ -0,0 +1,10 @@
|
||||
#ifndef GIT_HASH
|
||||
#define GIT_HASH "undef"
|
||||
#endif
|
||||
|
||||
#ifndef GIT_DIRTY
|
||||
#define GIT_DIRTY "-dirty"
|
||||
#endif
|
||||
|
||||
__attribute__((section(".version"), used))
|
||||
const char balatro_version[] = "GBALATRO_VERSION:" GIT_HASH GIT_DIRTY;
|
||||
Reference in New Issue
Block a user