From a881d6e0e7c4e51ad199c1f1f14b6c574c25686b Mon Sep 17 00:00:00 2001 From: Ben Longbons Date: Wed, 8 Oct 2014 13:15:30 -0700 Subject: Don't rebuild atcommand.cpp on version changes --- src/mmo/version.cpp | 5 +++++ src/mmo/version.hpp | 5 +++++ 2 files changed, 10 insertions(+) (limited to 'src/mmo') diff --git a/src/mmo/version.cpp b/src/mmo/version.cpp index 2e337c1..7c63614 100644 --- a/src/mmo/version.cpp +++ b/src/mmo/version.cpp @@ -73,4 +73,9 @@ bool extract(XString str, Version *vers) // It would've been useful during the magic migration. return extract(str, record<'.'>(&vers->major, &vers->minor, &vers->patch)); } + +LString VERSION_INFO_HEADER = "This server code consists of Free Software under GPL3&AGPL3"_s; +LString VERSION_INFO_COMMIT = "This is commit " VERSION_HASH ", also known as " VERSION_FULL ""_s; +LString VERSION_INFO_NUMBER = "The version is " VERSION_STRING ""_s; +LString VERSION_INFO_URL = "For source, see " VENDOR_SOURCE ""_s; } // namespace tmwa diff --git a/src/mmo/version.hpp b/src/mmo/version.hpp index 440dce6..6afcd58 100644 --- a/src/mmo/version.hpp +++ b/src/mmo/version.hpp @@ -90,4 +90,9 @@ extern Version CURRENT_MAP_SERVER_VERSION; extern LString CURRENT_VERSION_STRING; bool extract(XString str, Version *vers); + +extern LString VERSION_INFO_HEADER; +extern LString VERSION_INFO_COMMIT; +extern LString VERSION_INFO_NUMBER; +extern LString VERSION_INFO_URL; } // namespace tmwa -- cgit v1.2.3-60-g2f50