File tree Expand file tree Collapse file tree 3 files changed +15
-4
lines changed Expand file tree Collapse file tree 3 files changed +15
-4
lines changed Original file line number Diff line number Diff line change @@ -129,7 +129,7 @@ Version 2.3.0 - March 3 2019
129129- Better CMake compatibility #170
130130- Add implicit cast operator to char and short types #179 #180
131131
132- Version ?
132+ Version 2.4.0 - August 25 2019
133133- Update SQLite3 from 3.27.2 to 3.29.0 (2019-07-10)
134134- #191 CMake Warning line 299
135135- #190 Implement move constructors
Original file line number Diff line number Diff line change 55# Distributed under the MIT License (MIT) (See accompanying file LICENSE.txt
66# or copy at http://opensource.org/licenses/MIT)
77cmake_minimum_required (VERSION 2.8.12) # first version with add_compile_options()
8- project (SQLiteCpp)
8+ if (CMAKE_VERSION VERSION_LESS 3.0)
9+ project (SQLiteCpp)
10+ set (PROJECT_VERSION_MAJOR 2)
11+ set (PROJECT_VERSION_MINOR 4)
12+ set (PROJECT_VERSION_PATCH 0)
13+ set (PROJECT_VERSION "2.4.0" )
14+ else ()
15+ cmake_policy (SET CMP0048 NEW)
16+ project (SQLiteCpp VERSION "2.4.0" )
17+ endif ()
918
1019message (STATUS "CMake version: ${CMAKE_VERSION} " )
1120
Original file line number Diff line number Diff line change 3737 * The [SQLITECPP_VERSION_NUMBER] C preprocessor macro resolves to an integer
3838 * with the value (X*1000000 + Y*1000 + Z) where X, Y, and Z are the same
3939 * numbers used in [SQLITECPP_VERSION].
40+ *
41+ * WARNING: shall always be updated in sync with PROJECT_VERSION in CMakeLists.txt
4042 */
41- #define SQLITECPP_VERSION "2.03 .00" // 2.3 .0
42- #define SQLITECPP_VERSION_NUMBER 2003000 // 2.3 .0
43+ #define SQLITECPP_VERSION "2.04 .00" // 2.4 .0
44+ #define SQLITECPP_VERSION_NUMBER 2004000 // 2.4 .0
You can’t perform that action at this time.
0 commit comments