James Kuszmaul | 4a42b18 | 2021-01-17 11:32:46 -0800 | [diff] [blame^] | 1 | # Generate configuration header |
| 2 | configure_file( |
| 3 | input: 'config.h.in', |
| 4 | output: 'config.h', |
| 5 | configuration: configuration, |
| 6 | install_dir: '/'.join([get_option('includedir'), 'rawrtc'])) |
| 7 | |
| 8 | # Install headers |
| 9 | includes = files([ |
| 10 | 'certificate.h', |
| 11 | 'dtls_fingerprint.h', |
| 12 | 'dtls_parameters.h', |
| 13 | 'dtls_transport.h', |
| 14 | 'ice_candidate.h', |
| 15 | 'ice_gather_options.h', |
| 16 | 'ice_gatherer.h', |
| 17 | 'ice_parameters.h', |
| 18 | 'ice_server.h', |
| 19 | 'ice_transport.h', |
| 20 | 'main.h', |
| 21 | 'peer_connection.h', |
| 22 | 'peer_connection_configuration.h', |
| 23 | 'peer_connection_description.h', |
| 24 | 'peer_connection_ice_candidate.h', |
| 25 | 'peer_connection_state.h', |
| 26 | 'sctp_transport.h', |
| 27 | 'utils.h', |
| 28 | ]) |
| 29 | if get_option('sctp_redirect_transport') |
| 30 | includes += files('sctp_redirect_transport.h') |
| 31 | endif |
| 32 | install_headers(includes, subdir: 'rawrtc') |