src/dvdnav/meson.build
raw| 1 | # Copyright (C) 2025 Rob Hall |
| 2 | # SPDX-License-Identifier: MIT |
| 3 | |
| 4 | dvdnav_api_headers = files( |
| 5 | 'dvdnav.h', |
| 6 | 'dvdnav_events.h', |
| 7 | 'dvd_types.h', |
| 8 | ) |
| 9 | |
| 10 | dvdnav_api_headers += configure_file(input: 'version.h.in', |
| 11 | output: 'version.h', |
| 12 | configuration: {'DVDNAV_MAJOR': dvdnav_version_split[0], |
| 13 | 'DVDNAV_MINOR': dvdnav_version_split[1], |
| 14 | 'DVDNAV_SUB': dvdnav_version_split[2]}) |
| 15 | |
| 16 | # Install headers |
| 17 | install_headers(dvdnav_api_headers, |
| 18 | subdir: 'dvdnav') |