X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fversion.cpp;h=e5ac23034e332eb010f811b0adcd8d1966c4e256;hb=49ac79100bc36bcd8e54c0224596ae36af9c3c77;hp=4d46e145e456ea17708020e28d18aab2ca585536;hpb=8ecb96c09a2c605ba0c18d0c3ad1030d5a8b77cd;p=lyx.git diff --git a/src/version.cpp b/src/version.cpp index 4d46e145e4..e5ac23034e 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 /// @@ -24,6 +29,11 @@ extern char const * const lyx_git_commit_hash = LYX_GIT_COMMIT_HASH; /// extern char const * const lyx_release_date = LYX_DATE; +/// +extern char const * const lyx_build_date = __DATE__; +/// +extern char const * const lyx_build_time = __TIME__; + /// Package identifier (lyx[-]) extern char const * const lyx_package = PACKAGE;