From e753c19da1b621b1e667de85ce5ef60d186f0684 Mon Sep 17 00:00:00 2001 From: ptitSeb Date: Sun, 28 Feb 2021 14:19:04 +0100 Subject: Added some minimal set of source (now box64 compile and say hello at least) --- src/build_info.c | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100755 src/build_info.c (limited to 'src/build_info.c') diff --git a/src/build_info.c b/src/build_info.c new file mode 100755 index 00000000..02c19b4f --- /dev/null +++ b/src/build_info.c @@ -0,0 +1,27 @@ +#include +#include "debug.h" +#include "box64version.h" +#ifdef NOGIT +#define GITREV "nogit" +#else +#include "git_head.h" +#endif + +void PrintBox64Version() +{ + printf("Box64%s%s v%d.%d.%d %s built on %s %s\n", + #ifdef HAVE_TRACE + " with trace", + #else + "", + #endif + #ifdef DYNAREC + " with Dynarec", + #else + "", + #endif + BOX64_MAJOR, BOX64_MINOR, BOX64_REVISION, + GITREV, + __DATE__, __TIME__); +} + -- cgit 1.4.1