added scm rev generation on Linux/cmake

This commit is contained in:
bunnei 2014-04-23 18:43:57 -07:00
parent 7a136b8a84
commit 4405a53cf3
10 changed files with 211 additions and 53 deletions

View file

@ -5,6 +5,7 @@
#pragma once
#include "common/common.h"
#include "common/scm_rev.h"
// Abstraction class used to provide an interface between emulation code and the frontend (e.g. SDL,
// QGLWidget, GLFW, etc...)
@ -66,7 +67,7 @@ public:
protected:
EmuWindow() : m_client_area_width(640), m_client_area_height(480) {
char window_title[255];
sprintf(window_title, "citra-%s", g_scm_rev_str);
sprintf(window_title, "citra-%s", Common::g_scm_desc);
m_window_title = window_title;
}
virtual ~EmuWindow() {}