Made the version string from autorevision...

...also include base version from wesconfig.h
This commit is contained in:
Sergey Popov 2013-03-17 00:38:08 +00:00
parent 097f8a08ef
commit 45a073d033

View file

@ -56,8 +56,8 @@ namespace game_config
const std::string revision = VERSION " (" REVISION ")";
#elif defined(VCS_SHORT_HASH) && defined(VCS_WC_MODIFIED)
const std::string revision
= std::string(VCS_SHORT_HASH)
+ (VCS_WC_MODIFIED ? "-Modified" : "-Clean");
= std::string(VERSION) + " ("
+ VCS_SHORT_HASH + (VCS_WC_MODIFIED ? "-Modified" : "-Clean") + ")";
#else
const std::string revision = VERSION;
#endif