From a216d9d8005bda90852c2d1106ee93439ea62be0 Mon Sep 17 00:00:00 2001 From: Wongoo Lee Date: Wed, 24 Feb 2016 14:22:35 -0800 Subject: [PATCH] Add version numbers. --- README.md | 2 +- headeronly_src/sqlite3pp.h | 5 +++++ src/sqlite3pp.h | 5 +++++ 3 files changed, 11 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index bec3e7e..2610caf 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ > #### NEWS -> ###### Feb 4, 2015 - With the latest updates, sqlite3pp became boost-free. You don't have to use boost to use sqlite3pp any more. If you want the boost friendly version, the files are in the boost_src directory. But, I highly recommend you use new version if you are using c++11 or later. > ###### Feb 9, 2016 - I just added header only version of sqlite3pp in headeronly_src directory. It's still in beta, which means no one is trying it in fields yet. Please try it and report bugs if you find any. +> ###### Feb 4, 2015 - With the latest updates, sqlite3pp became boost-free. You don't have to use boost to use sqlite3pp any more. If you want the boost friendly version, the files are in the boost_src directory. But, I highly recommend you use new version if you are using c++11 or later. sqlite3pp ========= diff --git a/headeronly_src/sqlite3pp.h b/headeronly_src/sqlite3pp.h index df09fcb..b669038 100644 --- a/headeronly_src/sqlite3pp.h +++ b/headeronly_src/sqlite3pp.h @@ -25,6 +25,11 @@ #ifndef SQLITE3PP_H #define SQLITE3PP_H +#define SQLITE3PP_VERSION "1.0.0" +#define SQLITE3PP_VERSION_MAJOR 1 +#define SQLITE3PP_VERSION_MINOR 0 +#define SQLITE3PP_VERSION_PATCH 0 + #include #include #include diff --git a/src/sqlite3pp.h b/src/sqlite3pp.h index a9599c5..f016c42 100644 --- a/src/sqlite3pp.h +++ b/src/sqlite3pp.h @@ -25,6 +25,11 @@ #ifndef SQLITE3PP_H #define SQLITE3PP_H +#define SQLITE3PP_VERSION "1.0.0" +#define SQLITE3PP_VERSION_MAJOR 1 +#define SQLITE3PP_VERSION_MINOR 0 +#define SQLITE3PP_VERSION_PATCH 0 + #include #include #include