Generate verstub.cpp through raw cmake.

There is no need for an extra program.

As a bonus, generate a consistent windows vdi file.

There is still an issue with actually *reading* the vdi, but that's for someone else to tackle.
This commit is contained in:
Jason Felds
2015-10-02 21:56:02 -04:00
parent 429d4dbce2
commit 99b79e5410
12 changed files with 24 additions and 178 deletions
+1 -1
View File
@@ -90,7 +90,7 @@ static void Version()
RString sProductID = ssprintf("%s", (string(PRODUCT_FAMILY) + product_version).c_str() );
RString sVersion = "(StepMania was built without HAVE_VERSION_INFO)";
#if defined(HAVE_VERSION_INFO)
sVersion = ssprintf("build %lu\nCompile Date: %s @ %s", version_num, version_date, version_time);
sVersion = ssprintf("build %s\nCompile Date: %s @ %s", ::sm_version_git_hash, version_date, version_time);
#endif // HAVE_VERSION_INFO
AllocConsole();