base: main_posix: Print build version and date, like the windows main

This commit is contained in:
Doug Johnson 2017-07-15 17:44:37 -06:00 committed by Sandy Carter
parent e092c8c187
commit 959ad9f0cc
1 changed files with 5 additions and 0 deletions

View File

@ -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);