diff options
author | Robin Krahl <me@robin-krahl.de> | 2017-03-27 23:36:28 +0200 |
---|---|---|
committer | Robin Krahl <me@robin-krahl.de> | 2017-03-27 23:36:28 +0200 |
commit | c57df190537a73d0cb784bfe149ff22aca884db0 (patch) | |
tree | 24476573a16c0c05312df966fa226ada39721d4b /include | |
parent | bdaf2194e083f691e468a560fd5934576dbb8221 (diff) | |
download | sqlitepp-c57df190537a73d0cb784bfe149ff22aca884db0.tar.gz sqlitepp-c57df190537a73d0cb784bfe149ff22aca884db0.tar.bz2 |
Add version information to the Makefile and to sqlitepp.h
Diffstat (limited to 'include')
-rw-r--r-- | include/sqlitepp/sqlitepp.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/include/sqlitepp/sqlitepp.h b/include/sqlitepp/sqlitepp.h index ad09b6b..1e7f322 100644 --- a/include/sqlitepp/sqlitepp.h +++ b/include/sqlitepp/sqlitepp.h @@ -105,6 +105,24 @@ /// are destroyed. You can force them to free their resources using the /// `close` methods. +#ifndef SQLITEPP_VERSION_MAJOR +/// \brief The major version of sqlitepp (part x of version number x.y.z). +#define SQLITEPP_VERSION_MAJOR 0 +#endif + +#ifndef SQLITEPP_VERSION_MINOR +/// \brief The minor version of sqlitepp (part y of version number x.y.z). +#define SQLITEPP_VERSION_MINOR 0 +#endif + +#ifndef SQLITEPP_VERSION_PATCH +/// \brief The patch version of sqlitepp (part z of version number x.y.z). +#define SQLITEPP_VERSION_PATCH 0 +#endif + +/// \brief The sqlitepp version in the format MAJOR.MINOR.PATCH. +const std::string version = "0.1.0"; + /// \brief Contains all classes of the sqlitepp library. namespace sqlitepp { |