mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-01-07 10:50:52 -08:00
use 'git describe' to generate version info for the about box and servatrice. fixes issue #20
This commit is contained in:
@@ -28,6 +28,7 @@
|
||||
#include "servatrice.h"
|
||||
#include "server_logger.h"
|
||||
#include "rng_sfmt.h"
|
||||
#include "version_string.h"
|
||||
#ifdef Q_OS_UNIX
|
||||
#include <signal.h>
|
||||
#endif
|
||||
@@ -137,7 +138,7 @@ int main(int argc, char *argv[])
|
||||
#endif
|
||||
rng = new RNG_SFMT;
|
||||
|
||||
std::cerr << "Servatrice " << Servatrice::versionString.toStdString() << " starting." << std::endl;
|
||||
std::cerr << "Servatrice " << VERSION_STRING << " starting." << std::endl;
|
||||
std::cerr << "-------------------------" << std::endl;
|
||||
|
||||
if (testRandom)
|
||||
|
||||
Reference in New Issue
Block a user