X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fversion.cpp;h=6701accdf95180878a3cf816eb1e545d6229449b;hb=355395174bf50e1a3b8514e8eebec978c496d6ba;hp=1e4aa324396b0a90fb026f3d3a92d495979f5d07;hpb=419f32df91d744378808afdf04bbe68cb8a11f9a;p=lyx.git diff --git a/src/version.cpp b/src/version.cpp index 1e4aa32439..6701accdf9 100644 --- a/src/version.cpp +++ b/src/version.cpp @@ -10,8 +10,13 @@ */ #include + #if ! defined(LYX_DATE) - #include +#include "lyx_date.h" +#endif + +#if ! defined(LYX_GIT_COMMIT_HASH) +#include "lyx_commit_hash.h" #endif /// @@ -20,6 +25,8 @@ 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[-])