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
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