- test to try to get svn rev # in build string
This commit is contained in:
parent
04ba21f10c
commit
7442ac7c54
|
@ -27,6 +27,7 @@ namespace Glest{ namespace Game{
|
||||||
|
|
||||||
const string mailString= "contact_game@glest.org";
|
const string mailString= "contact_game@glest.org";
|
||||||
const string glestVersionString= "v3.3.7-dev";
|
const string glestVersionString= "v3.3.7-dev";
|
||||||
|
const string SVN_Rev = "$Rev$";
|
||||||
|
|
||||||
string getCrashDumpFileName(){
|
string getCrashDumpFileName(){
|
||||||
return "glest" + glestVersionString + ".dmp";
|
return "glest" + glestVersionString + ".dmp";
|
||||||
|
@ -83,13 +84,13 @@ version += " [DEBUG]";
|
||||||
}
|
}
|
||||||
|
|
||||||
string getNetworkVersionString() {
|
string getNetworkVersionString() {
|
||||||
string version = glestVersionString + " built: " + string(__DATE__) + " " + string(__TIME__);
|
string version = glestVersionString + " built: " + string(__DATE__) + " " + string(__TIME__) + " " + SVN_Rev;
|
||||||
version += " Compiler " + getCompilerNameString();
|
version += " Compiler " + getCompilerNameString();
|
||||||
return version;
|
return version;
|
||||||
}
|
}
|
||||||
|
|
||||||
string getCompileDateTime() {
|
string getCompileDateTime() {
|
||||||
return string(__DATE__) + " " + string(__TIME__);
|
return string(__DATE__) + " " + SVN_Rev + " " + string(__TIME__);
|
||||||
}
|
}
|
||||||
|
|
||||||
string getNetworkPlatformFreeVersionString() {
|
string getNetworkPlatformFreeVersionString() {
|
||||||
|
@ -99,7 +100,7 @@ string getNetworkPlatformFreeVersionString() {
|
||||||
string getAboutString1(int i){
|
string getAboutString1(int i){
|
||||||
switch(i){
|
switch(i){
|
||||||
case 0: return "Glest " + glestVersionString + " (" + "Shared Library " + sharedLibVersionString + ")";
|
case 0: return "Glest " + glestVersionString + " (" + "Shared Library " + sharedLibVersionString + ")";
|
||||||
case 1: return "Built: " + string(__DATE__);
|
case 1: return "Built: " + string(__DATE__) + " " + SVN_Rev;
|
||||||
case 2: return "Copyright 2001-2010 The Glest Team";
|
case 2: return "Copyright 2001-2010 The Glest Team";
|
||||||
}
|
}
|
||||||
return "";
|
return "";
|
||||||
|
|
Loading…
Reference in New Issue
Block a user