Tiger Wang
b1f67393fd
It's the sqlite3 library that needs threads
2021-06-24 20:52:28 +01:00
Sébastien Rombauts
4e3d36af2d
Release 3.1.1
2020-08-19 18:02:41 +02:00
sum01
72c4983056
Remove FindSQLiteCpp.cmake
...
It's not needed since the automatically generated file
SQLiteCppConfig.cmake already exists.
Added a small section to the README to explain how it can be used when
this library is installed to the system.
Fixes #283
2020-08-18 15:15:53 -04:00
sum01
15b307a099
Fix compilation if using SQLITE_HAS_CODEC
...
It was failing to compile since it wasn't linking against the sqlcipher
library if using the system libraries. This fix simply links the library
& includes the header path.
PkgConf is optional in this process, and it will fall back to regular
search for header & lib if it's not installed.
2020-08-11 15:20:45 -04:00
Sébastien Rombauts
80b58170a8
Release 3.1.0
2020-08-11 17:05:57 +02:00
Sébastien Rombauts
d2be4c84bf
Merge pull request #287 Fixed installation on other than Ubuntu distributions from xvitaly/fix-installation
2020-08-03 16:07:32 +02:00
zxey
0d2294e36f
Allow building of sqlite JSON1 extension when building internal sqlite library
2020-07-29 14:38:26 +02:00
Vitaly Zaitsev
f9caf62ac8
Fixed installation on other than Ubuntu distributions.
...
Signed-off-by: Vitaly Zaitsev <vitaly@easycoding.org>
2020-07-21 11:44:02 +02:00
Chris Dalke
1aa82864ce
Add CMake option to toggle stack protection hardening
2020-07-11 23:09:38 -04:00
Craig Tyler
9ef6dd5391
Install cmake files into same directory
2020-02-10 17:03:38 -08:00
Sébastien Rombauts
be1a8eeace
Release 3.0.0
2020-01-31 09:43:28 +01:00
Mario Emmenlauer
b5efb40ad7
CMakeLists.txt: Better handling of c++ standard. Set base level to c++11, but allow other versions
2020-01-30 13:03:43 +01:00
Sébastien Rombauts
adad71b1db
Add an example2 based on SQLiteCpp_Example repository
...
Demonstrates how to use SQLiteCpp as a subdirectory (out of tree) of a CMake project.
2020-01-29 23:29:13 +01:00
Sébastien Rombauts
801ed9106d
Remove duplicate target_include_directories() where /include is now public
...
Thanks to @emmenlau
2020-01-29 22:28:20 +01:00
Sébastien Rombauts
76bd3b2f54
Fix #267 'SQLiteCpp/SQLiteCpp.h' file not found
...
Issue introduced by Commit a166062c Significantly improved support for external sqlite3, and generalized thread and dl libs on Unix/Linux/Mac
2020-01-29 21:57:43 +01:00
Mario Emmenlauer
a166062c18
Significantly improved support for external sqlite3, and generalized thread and dl libs on Unix/Linux/Mac
2020-01-13 21:12:25 +01:00
Sébastien Rombauts
9108bbb60f
Add CMake messages about Googletest link / compilation
2020-01-12 22:07:23 +01:00
Sébastien Rombauts
ab8ff7376c
Fix linking with system library (libsqlite3)
...
Add FindSQLite3 from CMake v3.14 in cmake subdir custom CMake modules like FindSQLiteCpp
Add this cmake subdir to CMAKE_MODULE_PATH
Add a Travis CI build configuration using the libsqlite3-dev packagee from the Linux/Ubuntu distribution
2020-01-07 22:09:29 +01:00
Sébastien Rombauts
a879fbbe9f
Add -fkeep-inline-functions COMPILE_FLAGS to SQLiteCpp
...
Prevent the compiler from removing the unused inline functions so that they get tracked as "non-covered"
This will reduce the current coverage from (incorrect) 100% to realistic 9%"
2020-01-04 22:18:10 +01:00
Sébastien Rombauts
5a1fa743e5
Add Valgrind to Travis CI, and improve the build Matrix with more variables
...
Should detect the slight bug we currently have in our test of Database read header
2020-01-04 18:07:29 +01:00
Sébastien Rombauts
da4d692c13
Start a new 3.x branch requiring C++11 and CMake 3.1
...
- Remove support for Visual Studio < 2015
- Remove Statement::isOk() deprecated in 2.2.0 and renamed to Statement::hasRow()
2020-01-02 00:04:06 +01:00
Sébastien Rombauts
8e0bd6b3fe
Add a simple Github Actions workflow build script
2020-01-02 00:04:06 +01:00
Sébastien Rombauts
e6288ee920
Update copyright notice
2020-01-01 08:08:59 +01:00
Sébastien Rombauts
fd7958b809
Release 2.5.0
2019-12-31 21:33:49 +01:00
Sébastien Rombauts
53860b5ab7
Add SQLITE_HAS_CODEC to CMake options, with the mention of SQLCipher that implements required APIs
2019-12-29 23:33:37 +01:00
Sébastien Rombauts
c177d908fc
Merge pull request #235 from BioDataAnalysis/emmenlau_add_cmake_exports
...
Added support for cmake dependencies and version information
2019-12-29 14:17:41 +01:00
Sébastien Rombauts
11fab0f4b6
Merge pull request #229 from xvitaly/systemsqlite
...
Explicitly find and link against system sqlite library
2019-12-24 21:16:33 +01:00
Mario Emmenlauer
bd956b025e
Added support for cmake dependencies and version information
2019-12-14 14:06:02 +01:00
Sébastien Rombauts
8329e7a9e4
Merge pull request #231 from xvitaly/add-soversion
...
Added SOVERSION field for shared library
2019-11-25 21:44:17 +01:00
Sébastien Rombauts
ddcc042a10
Merge pull request #232 from xvitaly/system-gtest
...
Added support of packaged GTest for running unit tests
2019-11-25 21:43:00 +01:00
Sébastien Rombauts
f73256922e
Merge pull request #228 from BioDataAnalysis/emmenlau_cmake_add_transitive_compile_definitions
...
CMakeLists.txt: use transitive compile definitions via cmake
2019-11-25 13:37:35 +01:00
Vitaly Zaitsev
395c0478ef
Explicitly find and link against system sqlite library.
...
Signed-off-by: Vitaly Zaitsev <vitaly@easycoding.org>
2019-11-25 11:36:21 +01:00
Vitaly Zaitsev
2951ee6bed
Added support of packaged GTest for running unit tests.
...
Signed-off-by: Vitaly Zaitsev <vitaly@easycoding.org>
2019-11-25 11:19:58 +01:00
Vitaly Zaitsev
1a6d4c44b1
Added SOVERSION field for shared library.
...
Signed-off-by: Vitaly Zaitsev <vitaly@easycoding.org>
2019-11-25 10:54:41 +01:00
Vitaly Zaitsev
81f04d30a9
Fixed installation on other than Ubuntu GNU/Linux distributions.
...
Signed-off-by: Vitaly Zaitsev <vitaly@easycoding.org>
2019-11-25 10:28:18 +01:00
Mario Emmenlauer
ff72393658
CMakeLists.txt: use transitive compile definitions via cmake target_compile_definitions()
2019-11-18 11:12:57 +01:00
Sébastien Rombauts
8015952b93
Fix #216 Set PROJECT_VERSION to fix CMP0048 Policy warnings
2019-08-25 21:38:39 +02:00
Sébastien Rombauts
a68397c7ac
Add address sanitizer as an option for GCC & Clang
...
Add corresponding option SQLITECPP_USE_ASAN
Also formalize previously existing SQLITECPP_USE_GCOV option
2019-06-24 22:01:54 +02:00
maxbachmann
b38e88decb
add tuple_bind and execute_many ( #197 )
...
added the option to use a tuple with values to bind.
use this to implement executeMany as described in #24 , so it will be possible to pass multiple tuples
2019-06-16 10:46:21 +02:00
Sébastien Rombauts
cb6c16aadb
Fix #191 CMake Warning line 299
2019-03-03 21:20:36 +01:00
Sébastien Rombauts
6dc7f9b235
Fix CMakeLists.txt to build under Bash on Ubuntu on Windows
...
(Windows Subsystem for Windows 10)
2019-03-03 15:52:18 +01:00
Sébastien Rombauts
804879d27d
Revert OLD cmake policy & tested commented out
2019-03-02 23:46:59 +01:00
Sébastien Rombauts
2cb3cb2fef
Update copyright notice
2019-03-02 15:46:53 +01:00
Jorrit Wronski
890155363c
CMake compatibility ( #170 )
...
* Added compatibility with older and newer CMake versions, fixed an issue with the SQLite SEE tests
* Fixed include directory handling
* Add comments
2019-02-13 08:32:53 +01:00
Travis Howse
28e72f3ec0
Fix error message regarding git submodule init/update.
2019-02-01 14:34:46 +10:00
Jorrit Wronski
a786257320
Formatted the MSVC<2015 warning properly
2018-11-28 22:06:05 +01:00
Jorrit Wronski
f4c9aedf09
Fix problems with MSVC 2017 and issue warnings for MSVC < 2015
2018-11-28 21:37:05 +01:00
Sébastien Rombauts
d412dc06ff
Fix a warning regarding C compilation
2018-02-23 17:11:23 +01:00
Sébastien Rombauts
d15a84e46e
Cleanup TODOs in CMakeLists.txt
2018-02-19 14:55:57 +01:00
Sébastien Rombauts
d020c5f694
Update copyright notices to 2018
2018-01-24 11:26:38 +01:00