49 Commits

Author SHA1 Message Date
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
7dbcf482f2 Update copyright notice to 2023 2023-05-24 18:49:55 +02:00
Sébastien Rombauts
5e6dde0b56 Update SQLite from 3.40.0 to 3.42.0 (2023-05-16) 2023-05-24 17:47:26 +02:00
Pierre Proske
14cba69a33 Now working with example 2023-02-06 19:43:35 +11:00
Pierre Proske
e3fc62dd35 More fixes, should be working now 2023-02-06 13:19:57 +11:00
Sébastien Rombauts
4ede25d867 Update SQLite from 3.39.3 to 3.40.0 (2022-11-16) 2022-12-11 16:53:21 +01:00
Sébastien Rombauts
c68f651a10
Merge pull request #277 from cuberite/cmake-scoping
Fix cmake scoping issues with packaged SQLite
2022-09-30 20:11:34 +02:00
Sébastien Rombauts
5670c160e3 Update SQLite from 3.39.2 to 3.39.3 (2022-09-05) 2022-09-18 14:16:23 +02:00
Sébastien Rombauts
9b3951f8b7 Update SQLite from 3.37.2 to 3.39.2 from 2022-07-21 2022-07-24 16:19:55 +02:00
Sébastien Rombauts
a5aa46732d Updated SQLite3 from 3.36.0 to 3.37.2 (2022-01-06) 2022-01-07 15:43:15 +01:00
Sébastien Rombauts
0da8c467da Updated SQLite3 from 3.34.0 to 3.36.0 (2021-06-18) 2021-10-06 18:24:01 +02:00
Sébastien Rombauts
9b6c0cf6ea
Merge pull request #295 Compile internal SQLite library with -ffunction-sections from smichaku/smichaku/sqlite-function-sections 2021-01-06 10:53:43 +01:00
Sébastien Rombauts
c101d4490f Updated SQLite3 from 3.33.0 to 3.34.0 (2020-12-01) 2021-01-06 10:02:45 +01:00
Kelvin Hammond
9875a7591a Updated SQLite3 from 3.32.3 to 3.33.0 (2020-08-14) 2020-09-10 18:54:32 -04:00
Micha Kalfon
6f9075d511 Compile internal SQLite library with -ffunction-sections
When building with SQLITECPP_INTERNAL_SQLITE=ON the SQLite amalgamation
source is used for generating the library. Using one big source file
means all the library code will be put in a single section. When
building statically linked executables the entire section will be
linked even if a small portion of the library is actually used.

This commit addresses this issue by setting the -ffunction-sections
compiler option when building the library. As each function is placed in
a section of its own the linker, when passed the --gc-sections, will
throw away unused sections (functions) and reduce the executable size.
2020-08-23 13:05:25 +03:00
Sébastien Rombauts
c88a0adafd Update SQLite3 from 3.32.1 to 3.32.3 (2020-06-18) 2020-08-11 16:59:37 +02:00
zxey
0d2294e36f Allow building of sqlite JSON1 extension when building internal sqlite library 2020-07-29 14:38:26 +02:00
Sébastien Rombauts
7edd337591 Update SQLite3 from 3.30.1 to 3.32.1 (2020-05-25) 2020-06-01 13:25:50 +02:00
Peter Bell
7cfe26ee9f Fix include scoping issues with sqlite3 2020-05-08 12:35:01 +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
8485bb7d29 Add comments and TODO in Travis CI build matrix 2020-01-12 22:12:10 +01:00
Sébastien Rombauts
41cf3c5035 Update SQLite3 from 3.29.0 to 3.30.1 (2019-10-10) 2019-12-29 14:28:42 +01:00
Mario Emmenlauer
ff72393658 CMakeLists.txt: use transitive compile definitions via cmake target_compile_definitions() 2019-11-18 11:12:57 +01:00
Richard Hozák
c9e5b080cb
Disable cast-function-type warning when building internal sqlite
Disables cast-function-type warning which is available in gcc 8.0 and greater.
2019-09-04 14:54:25 +02:00
jzt
629497ed60 fix set sqlite3 propertie (#212) 2019-08-26 07:27:51 +02:00
Sébastien Rombauts
85c1bf348b Update SQLite3 to 3.29.0 (2019-07-10) to fix #217 2019-08-25 21:17:30 +02:00
Richard Hozák
ce4eb187a4 Disable implicit fallthrough warning when building internal sqlite3 (#215)
-Wimplicit-fallthrough is available in gcc 7.0 and greater.
2019-08-14 08:02:15 +02:00
Sébastien Rombauts
bb8c0ef0f2 Update SQLite3 from 3.27.2 to 3.28.0 (2019-04-16)
https://www.sqlite.org/releaselog/3_28_0.html
2019-04-30 22:27:17 +02:00
Sébastien Rombauts
ca45c67884 Fix #167 sqlite3 library cannot be built on Linux when dynamically linked 2019-03-03 00:18:00 +01:00
IAmWebSA
71a37d5f60 Sqlite 3.27.1 -> 3.27.2 version bump 2019-03-01 08:35:19 +01:00
Simon
7de6b1e8f7 Updated SQlite to 3.27.1
Updated SQlite to 3.27.1 to be on newest level
2019-02-13 08:19:44 +01:00
Skabunkel
fcf6db7f5d updated sqlite3 to version 3.20.1
* Updated sqlite3/sqlite3.h and sqlite3/sqlite3.c
* Updated test Statment.invalid since error message has changed.
2017-08-30 20:32:28 +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
94c658d828 Update sqlite3 from 3.12.2 to 3.132 (2016-05-18) 2016-06-30 21:48:08 +02:00
Sébastien Rombauts
c058349856 Update sqlite3 from 3.10.2 to 3.12.2 (2016-04-18) 2016-04-22 16:33:43 +02:00
Sébastien Rombauts
2210b30b52 Update sqlite3 from v3.9.2 to 3.10.2 (2016-01-20) and update version to 1.3.1 2016-02-10 11:45:22 +01:00
Sébastien Rombauts
c53d885393 Update copyright notice to 2016 2016-02-10 10:27:47 +01:00
Sébastien Rombauts
1c0bed5c85 Update changelog for next release 2015-11-10 18:45:13 +01:00
Sébastien Rombauts
24153e5293 Update sqlite3 from v3.8.8.3 to v3.9.2 (2015-11-02) 2015-11-10 18:28:14 +01:00
Sébastien Rombauts
09db07ccc7 Updated version to 1.0.0 changelog and copyright date 2015-05-03 23:32:57 +02:00
mariadeanton
2b5704e9e5 sqlite v3.8.8.3. 2015-03-24 17:24:58 +01:00
Sébastien Rombauts
e07e6230e8 Remove all project files as they are all outdated: use CMake only 2014-08-06 10:08:05 +02:00
Sébastien Rombauts
7bfaafecba Moved include files out of the src/ dir, to an include/ dir
+ started a void test file
2014-03-04 23:04:38 +01:00
Sébastien Rombauts
2b5d66eb25 Added a "sqlite3/CMakeLists.txt" file defining the SQLite3 static library for easier Windows build. 2013-09-01 17:30:54 +02:00
Sébastien Rombauts
7669bcbf90 Adding a Column::getName() function
- thanks to a patch provided by Nellis Willers,
- requires the SQLITE_ENABLE_COLUMN_METADATA preprocessor macro to be also defined at compile times of the SQLite library
- v0.5.1
2013-04-07 18:25:19 +02:00
Sébastien Rombauts
562650bf39 fixed filepath in VS2010 sqlite libray project 2013-03-10 18:15:57 +01:00
Sebastien Rombauts
1a82510821 Reorganizing the directory, the sources and the msvc files 2013-03-10 12:38:50 +01:00