ObjIRC  meson.build at trunk

File src/meson.build artifact c6d6e85a8c on branch trunk


fs = import('fs')

sources = files(
  'IRCConnection.m',
  'IRCUser.m',
)

objirc = library('objirc',
  sources,
  include_directories: incdir,
  dependencies: [objfw_dep],
  soversion: '0.0.0',
  install: true)

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

install_headers(headers, subdir: 'ObjIRC')