ObjSQLite3  Artifact [d144a32045]

Artifact d144a32045fc21e14ef466b9971b293800b4eff376be9e3fd11e79b648d4c051:


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],
  install: true)

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

install_headers(headers, subdir: 'ObjSQLite3')