ObjMatrix  meson.build at [bec8b4dab3]

File src/meson.build artifact bebb51c90f part of check-in bec8b4dab3


fs = import('fs')

subdir('exceptions')

sources = files(
  'MTXClient.m',
  'MTXRequest.m',
  'MTXSQLite3Storage.m',
)

objmatrix = library('objmatrix',
  sources + exceptions_sources,
  include_directories: incdir,
  dependencies: objfw_dep,
  install: true)

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

install_headers(headers, subdir: 'ObjMatrix')