933 Commits

Author SHA1 Message Date
Thomas Beutlich
5cab96d521 Update SQLite from 3.43.0 to 3.45.1 (2024-01-30) 2024-03-06 22:16:20 +01:00
Sébastien Rombauts
bcb4c78fed Update comments in appveyor.yml
AppVeyor is mostly being superseded by Github Actions
2023-08-30 13:45:42 +02:00
Sébastien Rombauts
1c2428e793
[Meson] update meson dependencies (#448)
this PR only affects meson, however a later change could be made for
CMake
updates the following depenencies:
 - GTests to 1.14.0
 - sqlite to 3.42.0
makes 
sets the recommended version to C++14 as Gtest now requires C++14,
additionally shows a warning and sets it to c++14 if
- C++11 is set and is on windows (this was #354 but now checks if is
C++11 and shows a warning instead of setting it to C++14 so it does not
revert when using a newer version)
- C++11 is set and uses [GTest
1.14.0](https://github.com/google/googletest/releases/tag/v1.14.0) or
greater, for more information check [Google's Foundational C++ Support
Policy](https://opensource.google/documentation/policies/cplusplus-support)
2023-08-30 13:39:57 +02:00
Sébastien Rombauts
5f22f8da01
Update Googletest to v1.14.0 (#451) 2023-08-30 12:50:17 +02:00
Sébastien Rombauts
428869a046 Add the latest XCode 14.2 - Apple clang 14.0.0 - macOS 12.6 to Travis CI 2023-08-30 11:42:03 +02:00
Sébastien Rombauts
14b476a465 Disable tests on the older macOS where CMake isn't compatible
CMake 3.13 or higher is required.  You are running version 3.9.4
2023-08-30 10:55:17 +02:00
Sébastien Rombauts
6fb08372d5 Update Googletest to v1.14.0 2023-08-29 20:26:03 +02:00
Sébastien Rombauts
f6960ee34d
Fix and update Travis CI workflow (#450) 2023-08-29 20:01:00 +02:00
Sébastien Rombauts
e933212f69 Fix inequality assertions for real numbers failing on Valgrind (2/2)
EXPECT_FLOAT_EQ
2023-08-29 19:23:35 +02:00
Sébastien Rombauts
d4d57b7f5b Fix inequality assertions for real numbers failing on Valgrind (1/2)
EXPECT_DOUBLE_EQ
2023-08-29 19:11:42 +02:00
Sébastien Rombauts
e4ca307460 Add a Travis CI config to BUILD_SHARED_LIBS 2023-08-29 18:32:47 +02:00
Sébastien Rombauts
f7ad43adb4 Add Ubuntu Focal 20.04 and Jammy 22.04 to Travis CI 2023-08-29 15:12:56 +02:00
Sébastien Rombauts
7088e44e2a Add a new TESTS envvar to .travis.yml to disable gtest on Ubuntu Trusty 14.04
Recent googletest doesn't compile on this old Ubunty
2023-08-29 15:12:30 +02:00
Sébastien Rombauts
bb051f92ff Replace in .travis.yml all instances of "true" by "ON"
To match the other "ON/OFF" flags used in the file, corresponding to CMake conventions
2023-08-29 14:11:50 +02:00
Sébastien Rombauts
aa76361203 Fix gcc compilation error
error: function ‘SQLite::Statement& SQLite::Statement::operator=(SQLite::Statement&&)’ defaulted on its first declaration with an exception-specification that differs from the implicit declaration
2023-08-29 10:24:30 +02:00
Sébastien Rombauts
b657c5f861 Fix valgrind run on Travis CI by updating path to executables
They are now produced in a bin/ subfolder
2023-08-29 10:22:12 +02:00
Jonathan Guzmán
8704db38b0
update Gtest to 1.14.0 2023-08-28 16:39:23 -06:00
Sébastien Rombauts
e2f80ec992
Update SQLiteCpp meson wrap file to latest release 3.3.1 (#447) 2023-08-28 19:15:15 +02:00
Sébastien Rombauts
d54ba3c5a2 Update SQLiteCpp meson wrap file to latest release 3.3.1 2023-08-28 18:38:06 +02:00
Sébastien Rombauts
fe6086c126
Release 3.3.1 (#445) 2023-08-27 23:11:58 +02:00
Sébastien Rombauts
b8a347b8f2 Update changelog for release 3.3.1 2023-08-27 22:58:57 +02:00
Sébastien Rombauts
81b2fc9262 Update project version to 3.3.1 2023-08-27 22:58:57 +02:00
Sébastien Rombauts
eba0b3f48a
Rename the original build.yml to cmake.yml vs meson.yml (#444) 2023-08-27 22:55:39 +02:00
Sébastien Rombauts
5164de641d Rename the original build.yml to cmake.yml vs meson.yml
Rename all workflows with explicit names
2023-08-27 22:48:25 +02:00
Sébastien Rombauts
3f00884a46
Update SQLite from 3.42.0 to 3.43.0 (2023-08-24) (#443) 2023-08-27 22:24:41 +02:00
Sébastien Rombauts
4490838f6a Update SQLite from 3.42.0 to 3.43.0 (2023-08-24) 2023-08-27 22:09:39 +02:00
Sébastien Rombauts
bd78ffcd64
Set -DBUILD_SHARED_LIBS=ON by default on scripts and CI/CD (#442)
set CMAKE_RUNTIME_OUTPUT_DIRECTORY so that executables and dlls share
the bin/ directory
2023-08-19 08:44:51 +02:00
Sébastien Rombauts
3bdd13ae95 set CMAKE_RUNTIME_OUTPUT_DIRECTORY so that executables and dlls share the bin/ directory 2023-08-18 23:07:47 +02:00
Sébastien Rombauts
40638924e0 Set -DBUILD_SHARED_LIBS=ON by default on scripts and CI/CD 2023-08-18 22:35:26 +02:00
Sébastien Rombauts
6bc108b452
Declare BUILD_SHARED_LIBS option for discoverability (#440)
BUILD_SHARED_LIBS is a standard CMake variable, but we declare it
explicitly to make it prominent
2023-08-18 22:34:26 +02:00
Sébastien Rombauts
3871ff0962 Don't build the googlemock subproject, only the main googletest library 2023-08-18 22:33:18 +02:00
Sébastien Rombauts
e6f2c000e6 Declare BUILD_SHARED_LIBS option for discoverability
BUILD_SHARED_LIBS is a standard CMake variable, but we declare it explicitly to make it prominent
2023-08-18 16:02:30 +02:00
Sébastien Rombauts
dfa4dd8005
Update usage of SQLITECPP_USE_STATIC_RUNTIME (#438)
- Replace the set() of "/MT" to REPLACE "/MD" "/MT" inspired from Zlib
licensed glfw https://github.com/glfw/glfw/blob/master/CMakeLists.txt
- Don't set SQLITECPP_USE_STATIC_RUNTIME by default when building with
unit tests. Use gtest_force_shared_crt to force googletest to link
against the default dynamic C++ runtime

Relates to #417
2023-08-18 16:01:47 +02:00
Sébastien Rombauts
2a43ce0cd5 Don't set SQLITECPP_USE_STATIC_RUNTIME by default when building with unit tests
Use gtest_force_shared_crt to force googletest to link against the default dynamic C++ runtime
2023-08-18 15:49:30 +02:00
Sébastien Rombauts
741078b379 Replace the set() of "/MT" to REPLACE "/MD" "/MT"
inspired from Zlib licensed glfw https://github.com/glfw/glfw/blob/master/CMakeLists.txt
2023-08-18 15:49:30 +02:00
Sébastien Rombauts
7a1649ce77 Merge pull request #441 Cleanup of the Github "build" workflow from SRombauts/github-actions-improvements 2023-08-18 15:48:09 +02:00
Sébastien Rombauts
fe4bf446db Merge pull request #439 Update CMake minimum version to 3.5 to get rid of a new deprecation warning with CMake 3.27 from SRombauts/cmake-update-minimum-version 2023-08-18 15:47:44 +02:00
Sébastien Rombauts
9976cdf744 Update cmake_minimum_required() to VERSION 3.5
Fix CMake 3.27 deprecation warning:

  Compatibility with CMake < 3.5 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.
2023-08-18 15:47:04 +02:00
Sébastien Rombauts
e1bb204bab Use github.ref_name instead of github.ref for readability 2023-08-18 14:57:10 +02:00
Sébastien Rombauts
8f8029cb7e Minor changes to the Github "build" workflow
- improve readability of logs with better name and single line of script per "run:" step
- improve readability of the script itself with less "name: " and additional spaces around varnames
2023-08-18 14:41:12 +02:00
Sébastien Rombauts
d8ac3b22d6
Merge pull request #434 Define SQLITECPP_COMPILE_DLL as PUBLIC from calumr/fix-dll-import 2023-08-17 10:50:10 +02:00
Calum Robinson
24a24b3be9 Define SQLITECPP_COMPILE_DLL as PUBLIC
* So that users of the SQLiteCpp lib have it defined automatically
* Fixed #432
2023-07-14 14:17:12 +01:00
Sébastien Rombauts
164a606004
Merge pull request #428 Add CMake option SQLITE_ENABLE_DBSTAT_VTAB and SQLITE_ENABLE_RTREE from SRombauts/cmake-sqlite-enable-dbstat-vtab 2023-06-12 14:54:27 +02:00
Sébastien Rombauts
8a3df039e5 Add CMake option SQLITE_ENABLE_DBSTAT_VTAB to enable DBSTAT read-only eponymous virtual table extension when building internal sqlite3 library.
See more here: https://www.sqlite.org/dbstat.html

Fix #426 Support building SQLite with with SQLITE_ENABLE_DBSTAT_VTAB compile option

Disabled by default
2023-05-31 13:50:10 +02:00
Sébastien Rombauts
4a85c81833 Remove option SQLITE_ENABLE_JSON1
since the JSON functions and operators are built into SQLite by default, as of SQLite version 3.38.0 (2022-02-22).

see issue #425 SQLITE_ENABLE_JSON1 flag does not appear to compile sqlite3 with this option
2023-05-31 13:45:24 +02:00
Sébastien Rombauts
2d8f4b9c18 Add CMake option SQLITE_ENABLE_RTREE to enable RTree extension when building internal sqlite3 library
See more here: https://sqlite.org/rtree.html

Disabled by default
2023-05-31 13:42:18 +02:00
Sébastien Rombauts
23a16ed341
Merge pull request #424 Set Meson version to 3.3.0 from ninjaoflight/patch-1 2023-05-29 20:23:44 +02:00
Jonathan Guzmán
3df13bfe0c
Update meson.build 2023-05-28 22:03:43 -06:00
Sébastien Rombauts
0e2994a00f Update SQLiteCpp meson wrap file to latest release 3.3.0 2023-05-24 19:00:10 +02:00
Sébastien Rombauts
4cb0bf68b7 Update changelog to version 3.3.0 2023-05-24 18:49:55 +02:00