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
Sébastien Rombauts
86985dfd1f
Fix nullptr detection with AppleClang
2017-12-17 21:42:23 +01:00
Sébastien Rombauts
5ed4a1ab79
nullptr compatibility: special detection for clang
2017-12-13 17:18:48 +01:00
Sébastien Rombauts
4f32da182c
Add my Utils.h file to define nullptr on C++98 and C++03 compilers
2017-12-13 10:34:55 +01:00
Sébastien Rombauts
7c4689eb51
Update changelog
2017-11-06 13:03:06 +01:00
fekir
94ebe5ced6
Add default copy constructor to exception class
...
The throw statement may copy the exception, since exception are thrown by value
Having const members disables the assignment operator
2017-08-19 08:53:01 +02:00
Sébastien Rombauts
1a2c7cbba7
Update sqlite3 from 3.13 to 3.19.3 (2017-06-08)
...
Fix #125 Incompatibility in 3.19.0 using a new CMake variable SQLITE_USE_LEGACY_STRUCT
2017-07-18 14:55:25 +02:00
Sébastien Rombauts
f08c15f43b
print CMake version
2017-04-12 17:31:19 +02:00
Sébastien Rombauts
ad3956ab4f
Comment out #111 "linked SQLiteCpp to sqlite3" since it breacks PR #118 "install step"
2017-04-12 17:31:11 +02:00
Sébastien Rombauts
efa4917f22
Merge branch 'master' into cmake_link
2017-04-12 16:19:06 +02:00
Timothy Rae
2123ef0348
Use pedantic warnings
...
From the gcc manual:
Issue all the warnings demanded by strict ISO C and ISO C++; reject all programs that use forbidden extensions, and some other programs that do not follow ISO C and ISO C++. For ISO C, follows the version of the ISO C standard specified by any -std option used.
Note: ISO C++98 doesn't support the "long long" data type, so we disable that warning
-Winit-self can be removed as it's enabled by -Wall
2017-03-31 12:41:21 +09:00
Timothy Rae
b23f2e155f
Use -Wextra flag with gcc
...
From the manual:
This enables some extra warning flags that are not enabled by -Wall. (This option used to be called -W. The older name is still supported, but the newer name is more descriptive.)
-Wclobbered
-Wempty-body
-Wignored-qualifiers
-Wimplicit-fallthrough=3
-Wmissing-field-initializers
-Wmissing-parameter-type (C only)
-Wold-style-declaration (C only)
-Woverride-init
-Wsign-compare (C only)
-Wtype-limits
-Wuninitialized
-Wshift-negative-value (in C++03 and in C99 and newer)
-Wunused-parameter (only with -Wunused or -Wall)
-Wunused-but-set-parameter (only with -Wunused or -Wall)
2017-03-31 12:22:38 +09:00
Timothy Rae
8387b594eb
Add install step
2017-03-27 18:41:44 +09:00
Yan Pashkovsky
870bb9963f
linked SQLiteCpp to sqlite3
...
Now there is no need to link each target ot both libs
2016-12-28 19:40:33 +03:00
Ashley Williams
acbad05257
Revert linking ssp in SQLiteCpp and link ssp in the example project for MSYS and MINGW
2016-08-30 20:06:05 +01:00
Ashley Williams
4b4bc3f17a
Link libssp when targetted
2016-08-29 18:50:28 +01:00
Sébastien Rombauts
1470735e94
Switch googletest submodule to latest commit of github.com/google/googletest.git
2016-08-01 22:29:40 +02:00
Sébastien Rombauts
93dd526341
Fix issue #92 : force MSVC to use static runtime only if unit-tests are build
...
googletest recommend using this runtime
2016-07-19 08:30:01 +02:00
Sébastien Rombauts
2b36f52b6e
Add an explicit CMake error message on missing googletest submodule
...
- build.bat now exit on error instead of trying to build or run tests
2016-07-18 18:20:40 +02:00
Sébastien Rombauts
fd8f50bdd9
Remove last #include <sqlite3.h> from a header : add a few public constants
...
- Move #include <sqlite3.h> from Exception.h to a new corresponding .cpp
- Add SQLite::OPEN_READONLY...
2016-07-13 17:16:41 +02:00
Bruno Coelho
d78c4d5713
Automatically propagate public headers to other projects with CMake
2016-07-11 11:32:26 +01:00
Sébastien Rombauts
4e7c12f629
Add VariadicBind.h from PR #85 to CMake for Visual Studio
...
+ fix style issues (cpplint)
2016-07-02 14:04:39 +02:00
Sébastien Rombauts
c5ca1db62c
Print cppcheck version at CMake generation
2016-06-30 21:29:04 +02:00
Sébastien Rombauts
c0b2d81db9
Add a unit test for error in exec()
2016-06-30 17:41:23 +02:00
Sébastien Rombauts
b913932be2
Add a unit test for transactions
...
+ a few small minor new assert in other tests
2016-06-28 13:17:33 +02:00