X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fversion.cpp;h=2ae59923a21244294827aadb8f963aa069d69f97;hb=3929a71cd0362cea6ca4ea0f7135ad524cfc8309;hp=ccd44281f96c584a1ab49c4246bedb9b29de3a41;hpb=9d0ea8aeff32833a90b3fe64df0c5518a9e241be;p=lyx.git diff --git a/src/version.cpp b/src/version.cpp index ccd44281f9..2ae59923a2 100644 --- a/src/version.cpp +++ b/src/version.cpp @@ -12,9 +12,15 @@ #include /// -char const * lyx_version = PACKAGE_VERSION; +extern char const * const lyx_version = PACKAGE_VERSION; /// -char const * lyx_release_date = LYX_DATE; +extern const int lyx_version_major = LYX_MAJOR_VERSION; +extern const int lyx_version_minor = LYX_MINOR_VERSION; +/// +extern char const * const lyx_release_date = LYX_DATE; + +/// Package identifier (lyx[-]) +extern char const * const lyx_package = PACKAGE; /// This is the version information shown by 'lyx --version' -char const * lyx_version_info = VERSION_INFO; +extern char const * const lyx_version_info = VERSION_INFO;