Migrate build system to Meson

FossilOrigin-Name: 2aa27f332cc29dfdf07022ae56e1b0e0e896c3bdc204883e51ecd20772ff96e7
This commit is contained in:
Jonathan Schleifer 2024-08-04 20:38:38 +00:00
parent 6f9897b332
commit 2c022c2de7
19 changed files with 71 additions and 6232 deletions

31
src/meson.build Normal file
View file

@ -0,0 +1,31 @@
objsqlite3 = library('objsqlite3',
[
'SL3Connection.m',
'SL3PreparedStatement.m',
'exceptions/SL3BindObjectFailedException.m',
'exceptions/SL3ClearBindingsFailedException.m',
'exceptions/SL3Exception.m',
'exceptions/SL3ExecuteStatementFailedException.m',
'exceptions/SL3OpenFailedException.m',
'exceptions/SL3PrepareStatementFailedException.m',
'exceptions/SL3ResetStatementFailedException.m',
],
include_directories: incdir,
objc_args: ['-DSL3_PUBLIC_IVARS'],
dependencies: [objfw_dep, sqlite3_dep],
install: true)
install_headers(
[
'ObjSQLite3.h',
'SL3Connection.h',
'SL3PreparedStatement.h',
'exceptions/SL3BindObjectFailedException.h',
'exceptions/SL3ClearBindingsFailedException.h',
'exceptions/SL3Exception.h',
'exceptions/SL3ExecuteStatementFailedException.h',
'exceptions/SL3OpenFailedException.h',
'exceptions/SL3PrepareStatementFailedException.h',
'exceptions/SL3ResetStatementFailedException.h',
],
subdir: 'ObjSQLite3')