28 Commits

Author SHA1 Message Date
Jonathan Guzmán
da2c747f3e
give warning if stack protection is not supported 2023-04-01 13:53:26 -06:00
Pierre Proske
82afee652b Fix Mingw build and suppress attribute warnings 2023-03-07 17:03:32 +11:00
Pierre Proske
b736d0a759 Merged with master 2023-03-06 19:01:20 +11:00
Pierre Proske
1eca00cb01 Fixed meson build thanks to @ninjaoflight 2023-02-14 10:34:48 +11:00
Jonathan Guzmán
69076e87cb
[macOS] do not check for load_extension if using internal sqlite3 2023-02-12 12:57:33 -06:00
Sébastien Rombauts
bac9a8a6ad
Merge pull request #399 add disable option for sqlite3_expanded_sql from ninjaoflight/optional-sqlite3_expanded_sql 2023-02-02 07:46:57 +01:00
Sébastien Rombauts
8716c52f84
Merge pull request #400 CMakr/meson Lint corrections from ninjaoflight/lint-corrections 2022-12-21 12:27:19 +01:00
Doug Nazar
3a6206c350 Fix meson installation
Fix include directory name so include files get installed.
Flag library for installation on non-Windows platforms.
2022-12-21 03:06:21 -05:00
Jonathan Guzmán
e78539059d
[meson] correct the SQLITE_HAS_CODEC definition 2022-12-19 20:03:45 -06:00
Jonathan Guzmán
1841e6b66f
add disable option for sqlite3_expanded_sql
make sqlite3_expanded_sql use optional and give a warning at compile time
along with a exception at runtime when used in an application
2022-12-19 19:18:31 -06:00
Jonathan Guzmán
2554472a6c
add meson samples 2022-12-16 22:44:34 -06:00
Jonathan Guzmán
f71633cc2d
set warning level to 3 2022-12-14 19:21:46 -06:00
Jonathan Guzmán
e8b812e1e1
meson code review
change version to 3.2.1
change file sources array to files()
comment default flags
check for sqlite3_load_extension support
change warning() to message('warning:
2022-12-13 21:02:32 -06:00
Jonathan Guzmán
c1b9420ba9
add missing compile options 2022-12-11 19:48:41 -06:00
Jonathan Guzmán
8d36ab8304
make std::filesystem optional
Add a switch to disable std::filesystem so it can be optinally disabled
this should let users that older compilers versions to disable it
2022-12-11 14:39:49 -06:00
Jonathan Guzmán
bd2e1c6087
[Meson] build library as static on windows
as dynamic linking is not supported on windows we can give a warning
and compile the library as static itself
2022-12-08 22:17:17 -06:00
Jonathan Guzmán
57ebdb25fc
add missing trailing comma 2022-12-08 20:09:24 -06:00
Jonathan Guzmán
5cd0699302
add sample 2 demo executable 2022-12-08 18:55:08 -06:00
Jonathan Guzmán
47d9a31e4e
[meson] install headers by using install_subdir
use install_subdir instead of the install_headers in the meson config file
2022-12-08 12:40:51 -06:00
Jonathan Guzmán
ca985c30dc
install headers on proper subdir 2022-12-08 00:13:50 -06:00
Jonathan Guzmán
85eace84f2
[meson] add savepoint support 2022-12-08 00:05:27 -06:00
Jonathan Guzmán
2231923094
remove NON_AMBIGUOUS_OVERLOAD
this macro is no longer needed for the tests as part of the cleanup in
commit 091726aa65a059004dcbda16095c58fd7fc8781c
2022-12-07 21:50:57 -06:00
Jonathan Guzmán
70b15f9de8
[Meson] use gtest_main for fallback 2022-12-07 21:37:51 -06:00
Jonathan Guzmán
d639f6b86c
change meson version to 3.2.0 2022-12-07 20:45:40 -06:00
Jonathan Guzmán
e32daec169
link library statically when building unit tests
make the meson file link statically the library when building the unit tests
executable so it does not fail on windows
as the symbols are not exported by default
2022-04-19 22:03:40 -06:00
Jonathan Guzmán
9f5d446e36
use c++14 on windows
on windows may show an error in xstddef if c++11 is used
this is a workarround for that issue
"deduced return types are a C++14 extension"
2022-04-19 21:59:52 -06:00
Jonathan Guzmán
179ef091c6
define preprocesor definition
define NON_AMBIGOUS_OVERLOAD to prevent ambiguous overload
and use int instead of long to prevent ambiguous overload errors
2022-04-19 21:58:04 -06:00
Jonathan Guzmán
3db5d868ea
add basic meson support 2022-03-18 18:50:00 -06:00