ObjSQLite3  Artifact [5d051f5642]

Artifact 5d051f56424e30fa76b6b93b138929f0c3c48beaffa6a2c7e7f476df60a31198:


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