Skip to content

Commit be1a8ee

Browse files
committed
Release 3.0.0
1 parent 0903df8 commit be1a8ee

File tree

3 files changed

+34
-27
lines changed

3 files changed

+34
-27
lines changed

CHANGELOG.md

+12-5
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ Version 2.5.0 - December 31 2019
156156

157157
- #251 Added example for getHeaderInfo()
158158

159-
Version 3.0.0 - January 1 2020
159+
Version 3.0.0 - January 31 2020
160160
- C++11 is now required
161161
- CMake 3.1 minimum
162162
- Visual Studio 2015 minimum
@@ -165,7 +165,14 @@ Version 3.0.0 - January 1 2020
165165
- Add Valgrind memcheck tool to Travis CI
166166
- Remove Statement::isOk() deprecated in 2.2.0 when renamed to Statement::hasRow()
167167
- Replace Database::backup() "C" implementation by calling the Backup class
168-
- Run Valgrind memcheck on Travis CI #252
169-
- Keep inline functions for GCov code coverage #253
170-
- Re-enable Coverity static analysis #254
171-
- Fix linking with system library (libsqlite3) #256
168+
- #252 Run Valgrind memcheck on Travis CI
169+
- #253 Keep inline functions for GCov code coverage
170+
- #254 Re-enable Coverity static analysis
171+
- #256 Fix linking with system library (libsqlite3)
172+
- #242 Added a `getIndex` method and used it (KOLANICH)
173+
- #257 Improve Statement unit tests coverage (bind by name with a std::string)
174+
- #234 support for external sqlite3 (BioDataAnalysis/emmenlau)
175+
- #243 adding a pure attribute to getIndex() (KOLANICH)
176+
177+
178+

CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
# or copy at http://opensource.org/licenses/MIT)
77
cmake_minimum_required(VERSION 3.1) # for "CMAKE_CXX_STANDARD" version
88
list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake") # custom CMake modules like FindSQLiteCpp
9-
project(SQLiteCpp VERSION 2.99)
9+
project(SQLiteCpp VERSION 3.0.0)
1010

1111
# SQLiteC++ 3.x requires C++11 features
1212
if (NOT CMAKE_CXX_STANDARD)

examples/example2/CMakeLists.txt

+21-21
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,25 @@
1-
# Example CMake file for compiling & linking a project with the the SQLiteCpp wrapper
2-
#
3-
# Copyright (c) 2012-2020 Sebastien Rombauts ([email protected])
4-
#
5-
# Distributed under the MIT License (MIT) (See accompanying file LICENSE.txt
6-
# or copy at http://opensource.org/licenses/MIT)
7-
cmake_minimum_required(VERSION 3.1) # for "CMAKE_CXX_STANDARD" version
8-
project(SQLiteCpp_Example VERSION 2.0)
1+
# Example CMake file for compiling & linking a project with the the SQLiteCpp wrapper
2+
#
3+
# Copyright (c) 2012-2020 Sebastien Rombauts ([email protected])
4+
#
5+
# Distributed under the MIT License (MIT) (See accompanying file LICENSE.txt
6+
# or copy at http://opensource.org/licenses/MIT)
7+
cmake_minimum_required(VERSION 3.1) # for "CMAKE_CXX_STANDARD" version
8+
project(SQLiteCpp_Example VERSION 2.0)
99

1010
# SQLiteC++ 3.x now requires C++11 compiler
1111
set(CMAKE_CXX_STANDARD 11)
1212
set(CMAKE_CXX_STANDARD_REQUIRED ON)
13-
14-
# Add SQLite3 C++ wrapper around sqlite3 library (and sqlite3 itself provided for ease of use)
15-
# Here you can set CMake variables to avoid building Example, as well as cpplint, cppcheck...
16-
# or set them in the cmake command line (see for instance provided build.bat/build.sh scripts)
17-
set(SQLITECPP_RUN_CPPCHECK OFF CACHE BOOL "" FORCE)
18-
set(SQLITECPP_RUN_CPPLINT OFF CACHE BOOL "" FORCE)
19-
add_subdirectory(../.. SQLiteCpp) # out-of-source build requires explicit subdir name for compilation artifacts
20-
21-
# Add main.cpp example source code to the executable
22-
add_executable(SQLiteCpp_Example src/main.cpp)
23-
24-
# Link SQLiteCpp_example1 with SQLiteCpp
25-
target_link_libraries(SQLiteCpp_Example SQLiteCpp)
13+
14+
# Add SQLite3 C++ wrapper around sqlite3 library (and sqlite3 itself provided for ease of use)
15+
# Here you can set CMake variables to avoid building Example, as well as cpplint, cppcheck...
16+
# or set them in the cmake command line (see for instance provided build.bat/build.sh scripts)
17+
set(SQLITECPP_RUN_CPPCHECK OFF CACHE BOOL "" FORCE)
18+
set(SQLITECPP_RUN_CPPLINT OFF CACHE BOOL "" FORCE)
19+
add_subdirectory(../.. SQLiteCpp) # out-of-source build requires explicit subdir name for compilation artifacts
20+
21+
# Add main.cpp example source code to the executable
22+
add_executable(SQLiteCpp_Example src/main.cpp)
23+
24+
# Link SQLiteCpp_example1 with SQLiteCpp
25+
target_link_libraries(SQLiteCpp_Example SQLiteCpp)

0 commit comments

Comments
 (0)