ObjPgSQL  Artifact [c0c95e2704]

Artifact c0c95e2704727fff53490903177b0eb35c5ae13fdf9fd4a9602731b5b28fc0f1:


fs = import('fs')

subdir('exceptions')

sources = files(
  'PGSQLConnection.m',
  'PGSQLResult.m',
  'PGSQLResultRow.m',
)

objpgsql = library('objpgsql',
  sources + exceptions_sources,
  include_directories: incdir,
  dependencies: [objfw_dep, libpq_dep],
  soversion: '0.0',
  install: true)

headers = ['ObjPgSQL.h']
foreach source: sources + exceptions_sources
  headers += fs.replace_suffix(source.full_path(), '.h')
endforeach

install_headers(headers, subdir: 'ObjPgSQL')