ObjSQLite3/src/meson.build
Jonathan Schleifer a513914999 Set soversion
FossilOrigin-Name: 3e0861a9349db083fc9dd4007529971bbbabb96d0d027d14833ea662fbe73079
2024-08-07 20:21:03 +00:00

23 lines
513 B
Meson

fs = import('fs')
subdir('exceptions')
sources = files(
'SL3Connection.m',
'SL3PreparedStatement.m',
)
objsqlite3 = library('objsqlite3',
sources + exceptions_sources,
include_directories: incdir,
objc_args: ['-DSL3_PUBLIC_IVARS'],
dependencies: [objfw_dep, sqlite3_dep],
soversion: '0.0',
install: true)
headers = ['ObjSQLite3.h']
foreach source: sources + exceptions_sources
headers += fs.replace_suffix(source.full_path(), '.h')
endforeach
install_headers(headers, subdir: 'ObjSQLite3')