2001-10-03 15:49:32 +00:00
|
|
|
/* -*- C++ -*- */
|
2003-08-22 09:44:59 +00:00
|
|
|
/**
|
2007-05-04 00:47:24 +00:00
|
|
|
* \file version.cpp
|
2003-08-22 09:44:59 +00:00
|
|
|
* This file is part of LyX, the document processor.
|
|
|
|
* Licence details can be found in the file COPYING.
|
|
|
|
*
|
|
|
|
* \author Jean-Marc Lasgouttes
|
|
|
|
*
|
|
|
|
* Full author contact details are available in file CREDITS.
|
|
|
|
*/
|
2001-10-03 15:49:32 +00:00
|
|
|
|
2007-08-13 12:04:57 +00:00
|
|
|
#include <config.h>
|
2012-10-15 20:50:39 +00:00
|
|
|
#if ! defined(LYX_DATE)
|
|
|
|
#include <lyx_date.h>
|
|
|
|
#endif
|
2007-08-13 12:04:57 +00:00
|
|
|
|
2001-10-03 15:49:32 +00:00
|
|
|
///
|
2011-02-11 00:46:49 +00:00
|
|
|
extern char const * const lyx_version = PACKAGE_VERSION;
|
2001-10-03 15:49:32 +00:00
|
|
|
///
|
2011-02-11 00:24:06 +00:00
|
|
|
extern const int lyx_version_major = LYX_MAJOR_VERSION;
|
|
|
|
extern const int lyx_version_minor = LYX_MINOR_VERSION;
|
2011-02-09 22:19:14 +00:00
|
|
|
///
|
2011-02-11 00:46:49 +00:00
|
|
|
extern char const * const lyx_release_date = LYX_DATE;
|
2001-10-03 15:49:32 +00:00
|
|
|
|
2009-06-29 08:44:32 +00:00
|
|
|
/// Package identifier (lyx[-<version-suffix>])
|
2011-02-11 00:46:49 +00:00
|
|
|
extern char const * const lyx_package = PACKAGE;
|
2009-06-29 08:44:32 +00:00
|
|
|
|
2007-08-13 12:04:57 +00:00
|
|
|
/// This is the version information shown by 'lyx --version'
|
2011-02-11 00:46:49 +00:00
|
|
|
extern char const * const lyx_version_info = VERSION_INFO;
|