]> git.lyx.org Git - lyx.git/blob - src/version.cpp
Avoid full metrics computation with Update:FitCursor
[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
14 #if ! defined(LYX_DATE)
15 #include "lyx_date.h"
16 #endif
17
18 #if ! defined(LYX_GIT_COMMIT_HASH)
19 #include "lyx_commit_hash.h"
20 #endif
21
22 ///
23 extern char const * const lyx_version = PACKAGE_VERSION;
24 ///
25 extern const int lyx_version_major = LYX_MAJOR_VERSION;
26 extern const int lyx_version_minor = LYX_MINOR_VERSION;
27 ///
28 extern char const * const lyx_git_commit_hash = LYX_GIT_COMMIT_HASH;
29 ///
30 extern char const * const lyx_release_date = LYX_DATE;
31
32 /// Package identifier (lyx[-<version-suffix>])
33 extern char const * const lyx_package = PACKAGE;
34
35 /// This is the version information shown by 'lyx --version'
36 extern char const * const lyx_version_info = VERSION_INFO;