aboutsummaryrefslogtreecommitdiff
path: root/include/sqlitepp
diff options
context:
space:
mode:
Diffstat (limited to 'include/sqlitepp')
-rw-r--r--include/sqlitepp/sqlitepp.h18
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 {