From 959ad9f0cc2abf793706a2ac9fb49872073281df Mon Sep 17 00:00:00 2001 From: Doug Johnson Date: Sat, 15 Jul 2017 17:44:37 -0600 Subject: [PATCH] base: main_posix: Print build version and date, like the windows main --- src/xenia/base/main_posix.cc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/xenia/base/main_posix.cc b/src/xenia/base/main_posix.cc index 1a56b57c2..25c2d67c4 100644 --- a/src/xenia/base/main_posix.cc +++ b/src/xenia/base/main_posix.cc @@ -7,6 +7,7 @@ ****************************************************************************** */ +#include "build/version.h" #include "xenia/base/cvar.h" #include "xenia/base/main.h" @@ -32,6 +33,10 @@ extern "C" int main(int argc, char** argv) { // Initialize logging. Needs parsed FLAGS. xe::InitializeLogging(entry_info.name); + // Print version info. + XELOGI("Build: %s / %s on %s", XE_BUILD_BRANCH, XE_BUILD_COMMIT, + XE_BUILD_DATE); + // Call app-provided entry point. int result = entry_info.entry_point(args);