X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2Fversion.cpp;h=6701accdf95180878a3cf816eb1e545d6229449b;hb=75eb3abcfbf134a33795287c70f543f1cd2fcd8e;hp=2ae59923a21244294827aadb8f963aa069d69f97;hpb=5321a41fe1937fa53374af07536da0f81b16e995;p=lyx.git diff --git a/src/version.cpp b/src/version.cpp index 2ae59923a2..6701accdf9 100644 --- a/src/version.cpp +++ b/src/version.cpp @@ -11,12 +11,22 @@ #include +#if ! defined(LYX_DATE) +#include "lyx_date.h" +#endif + +#if ! defined(LYX_GIT_COMMIT_HASH) +#include "lyx_commit_hash.h" +#endif + /// extern char const * const lyx_version = PACKAGE_VERSION; /// extern const int lyx_version_major = LYX_MAJOR_VERSION; extern const int lyx_version_minor = LYX_MINOR_VERSION; /// +extern char const * const lyx_git_commit_hash = LYX_GIT_COMMIT_HASH; +/// extern char const * const lyx_release_date = LYX_DATE; /// Package identifier (lyx[-])