mistserver/subprojects/packagefiles/libsrt/srt/meson.build
2024-11-11 15:17:21 +01:00

14 lines
959 B
Meson

versionfile = configure_file(format: 'cmake@', output: 'version.h', input: files('../srtcore/version.h.in'), configuration: {
'SRT_VERSION_MAJOR': 1,
'SRT_VERSION_MINOR' : 5,
'SRT_VERSION_PATCH': 3,
'CI_BUILD_NUMBER_STRING': '"1.5.3"',
'SRT_VERSION': '1.5.3',
}, install_dir: 'include/srt')
header_tgts += configure_file(copy:true, install_dir: 'include/srt', input: files('../srtcore/srt.h'), output: 'srt.h')
header_tgts += configure_file(copy:true, install_dir: 'include/srt', input: files('../srtcore/logging_api.h'), output: 'logging_api.h')
header_tgts += configure_file(copy:true, install_dir: 'include/srt', input: files('../srtcore/access_control.h'), output: 'access_control.h')
header_tgts += configure_file(copy:true, install_dir: 'include/srt', input: files('../srtcore/platform_sys.h'), output: 'platform_sys.h')
header_tgts += configure_file(copy:true, install_dir: 'include/srt', input: files('../srtcore/udt.h'), output: 'udt.h')