- Use gitinfo.h instead of svnrevision.h for versioning.
- Use functions in gitinfo.cpp to retrieve the strings from gitinfo.h so that changes to gitinfo.h only require recompiling one file instead of several.
This commit is contained in:
parent
fece189bdb
commit
98ac224e53
15 changed files with 140 additions and 73 deletions
|
|
@ -225,7 +225,7 @@ FGameConfigFile::~FGameConfigFile ()
|
|||
|
||||
void FGameConfigFile::WriteCommentHeader (FILE *file) const
|
||||
{
|
||||
fprintf (file, "# This file was generated by " GAMENAME " " DOTVERSIONSTR " on %s\n", myasctime());
|
||||
fprintf (file, "# This file was generated by " GAMENAME " %s on %s\n", GetVersionString(), myasctime());
|
||||
}
|
||||
|
||||
void FGameConfigFile::MigrateStub (const char *pathname, FConfigFile *config, void *userdata)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue