Emit library versions when running pioneer -version
This is super useful for checking the build system because you can run the binary quickly and get some output to check that it doesn't totally fail at load time, without actually waiting for the full game to load.master
parent
114600e614
commit
43c5027a94
|
@ -8,6 +8,7 @@
|
|||
#include "galaxy/GalaxyGenerator.h"
|
||||
#include "galaxy/Galaxy.h"
|
||||
#include "utils.h"
|
||||
#include "versioningInfo.h"
|
||||
#include <cstdio>
|
||||
#include <cstdlib>
|
||||
|
||||
|
@ -206,6 +207,7 @@ start:
|
|||
std::string version(PIONEER_VERSION);
|
||||
if (strlen(PIONEER_EXTRAVERSION)) version += " (" PIONEER_EXTRAVERSION ")";
|
||||
Output("pioneer %s\n", version.c_str());
|
||||
OutputVersioningInfo();
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue