]> git.lyx.org Git - lyx.git/blob - src/version.cpp
577bd2b1517355565e0bf8a3e37789042b021bd0
[lyx.git] / src / version.cpp
1 /* -*- C++ -*- */
2 /**
3  * \file version.cpp
4  * This file is part of LyX, the document processor.
5  * Licence details can be found in the file COPYING.
6  *
7  * \author Jean-Marc Lasgouttes
8  *
9  * Full author contact details are available in file CREDITS.
10  */
11
12 #include <config.h>
13 #if ! defined(LYX_DATE)
14         #include <lyx_date.h>
15         #include <lyx_commit_hash.h>
16 #endif
17
18 ///
19 extern char const * const lyx_version = PACKAGE_VERSION;
20 ///
21 extern const int lyx_version_major = LYX_MAJOR_VERSION;
22 extern const int lyx_version_minor = LYX_MINOR_VERSION;
23 ///
24 extern char const * const lyx_git_commit_hash = LYX_GIT_COMMIT_HASH;
25 ///
26 extern char const * const lyx_release_date = LYX_DATE;
27
28 /// Package identifier (lyx[-<version-suffix>])
29 extern char const * const lyx_package = PACKAGE;
30
31 /// This is the version information shown by 'lyx --version'
32 extern char const * const lyx_version_info = VERSION_INFO;