Luanti 5.10.0-dev
 
Loading...
Searching...
No Matches
version.cpp File Reference
#include "version.h"
#include "config.h"
+ Include dependency graph for version.cpp:

Macros

#define VERSION_GITHASH   VERSION_STRING
 
#define STRINGIFY(x)   #x
 
#define STR(x)   STRINGIFY(x)
 

Variables

const char * g_version_string = VERSION_STRING
 
const char * g_version_hash = VERSION_GITHASH
 
const char * g_build_info
 

Macro Definition Documentation

◆ STR

#define STR ( x)    STRINGIFY(x)

◆ STRINGIFY

#define STRINGIFY ( x)    #x

◆ VERSION_GITHASH

#define VERSION_GITHASH   VERSION_STRING

Variable Documentation

◆ g_build_info

const char* g_build_info
Initial value:
=
"BUILD_TYPE=" BUILD_TYPE "\n"
"RUN_IN_PLACE=" STR(RUN_IN_PLACE) "\n"
"USE_CURL=" STR(USE_CURL) "\n"
"STATIC_SHAREDIR=" STR(STATIC_SHAREDIR)
#define STR(x)
Definition version.cpp:17

Referenced by print_version().

◆ g_version_hash

◆ g_version_string

const char* g_version_string = VERSION_STRING