ObjPgSQL/src/meson.build
Jonathan Schleifer eb1d0eb207 Migrate build system to Meson
FossilOrigin-Name: a27ad474c4851fba5efbb876e5c1c174de1fea165ea9c1d4d1f2018b175b5080
2024-08-07 19:43:07 +00:00

22 lines
452 B
Meson

fs = import('fs')
subdir('exceptions')
sources = files(
'PGConnection.m',
'PGResult.m',
'PGResultRow.m',
)
objpgsql = library('objpgsql',
sources + exceptions_sources,
include_directories: incdir,
dependencies: [objfw_dep, libpq_dep],
install: true)
headers = ['ObjPgSQL.h']
foreach source: sources + exceptions_sources
headers += fs.replace_suffix(source.full_path(), '.h')
endforeach
install_headers(headers, subdir: 'ObjPgSQL')