/* Declaration of macros and functions providing version -*- C++ -*- and licensing information. Copyright (C) 2001-2010 Roberto Bagnara Copyright (C) 2010-2016 BUGSENG srl (http://bugseng.com) This file is part of the Parma Polyhedra Library (PPL). The PPL is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version. The PPL is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1307, USA. For the most up-to-date information see the Parma Polyhedra Library site: http://bugseng.com/products/ppl/ . */ #ifndef PPL_version_hh #define PPL_version_hh 1 //! The major number of the PPL version. /*! \ingroup PPL_CXX_interface */ #define PPL_VERSION_MAJOR @PPL_VERSION_MAJOR@ //! The minor number of the PPL version. /*! \ingroup PPL_CXX_interface */ #define PPL_VERSION_MINOR @PPL_VERSION_MINOR@ //! The revision number of the PPL version. /*! \ingroup PPL_CXX_interface */ #define PPL_VERSION_REVISION @PPL_VERSION_REVISION@ /*! \brief The beta number of the PPL version. This is zero for official releases and nonzero for development snapshots. \ingroup PPL_CXX_interface */ #define PPL_VERSION_BETA @PPL_VERSION_BETA@ //! A string containing the PPL version. /*! \ingroup PPL_CXX_interface Let M and m denote the numbers associated to PPL_VERSION_MAJOR and PPL_VERSION_MINOR, respectively. The format of PPL_VERSION is M "." m if both PPL_VERSION_REVISION (r) and PPL_VERSION_BETA (b)are zero, M "." m "pre" b if PPL_VERSION_REVISION is zero and PPL_VERSION_BETA is not zero, M "." m "." r if PPL_VERSION_REVISION is not zero and PPL_VERSION_BETA is zero, M "." m "." r "pre" b if neither PPL_VERSION_REVISION nor PPL_VERSION_BETA are zero. */ #define PPL_VERSION "@VERSION@" namespace Parma_Polyhedra_Library { //! \name Library Version Control Functions //@{ //! Returns the major number of the PPL version. unsigned version_major(); //! Returns the minor number of the PPL version. unsigned version_minor(); //! Returns the revision number of the PPL version. unsigned version_revision(); //! Returns the beta number of the PPL version. unsigned version_beta(); //! Returns a character string containing the PPL version. const char* version(); //! Returns a character string containing the PPL banner. /*! The banner provides information about the PPL version, the licensing, the lack of any warranty whatsoever, the C++ compiler used to build the library, where to report bugs and where to look for further information. */ const char* banner(); //@} // Library Version Control Functions } // namespace Parma_Polyhedra_Library #endif // !defined(PPL_version_hh)