#include "revision_utils.hpp" #include #include #include QString revision (QString const& svn_rev_string) { return ""; } QString version (bool include_patch) { #if defined (CMAKE_BUILD) QString v {WSJTX_STRINGIZE (WSJTX_VERSION_MAJOR) "." WSJTX_STRINGIZE (WSJTX_VERSION_MINOR)}; if (include_patch) { v += "." WSJTX_STRINGIZE (WSJTX_VERSION_PATCH) #if 0 # if defined (WSJTX_RC) + "-rc" WSJTX_STRINGIZE (WSJTX_RC) # endif #endif ; } #else QString v {"Not for Release"}; #endif return v; } QString program_title (QString const& revision) { QString id {"JS8Call de KN4CRD (v%1)"}; return id.arg(QCoreApplication::applicationVersion ()); }