Willy Tu | cc4098e | 2022-06-23 11:39:38 -0700 | [diff] [blame] | 1 | libbej_lib = library( |
kasunath | 7ffd30a | 2022-05-10 18:11:34 -0700 | [diff] [blame] | 2 | 'libbej', |
kasunath | 64cb197 | 2022-05-13 12:54:23 -0700 | [diff] [blame] | 3 | 'bej_decoder_core.c', |
kasunath | 0aa36d8 | 2022-11-23 14:24:15 -0800 | [diff] [blame] | 4 | 'bej_common.c', |
kasunath | d073aa1 | 2022-05-12 16:08:49 -0700 | [diff] [blame] | 5 | 'bej_dictionary.c', |
kasunath | 2ebe82f | 2023-01-31 13:59:22 -0800 | [diff] [blame] | 6 | 'bej_tree.c', |
kasunath | 99bd6c9 | 2023-07-30 18:19:00 -0700 | [diff] [blame^] | 7 | 'bej_encoder_core.c', |
| 8 | 'bej_encoder_metadata.c', |
kasunath | b81dcec | 2022-05-23 12:23:44 -0700 | [diff] [blame] | 9 | 'bej_decoder_json.cpp', |
kasunath | 7ffd30a | 2022-05-10 18:11:34 -0700 | [diff] [blame] | 10 | include_directories : libbej_incs, |
Willy Tu | cc4098e | 2022-06-23 11:39:38 -0700 | [diff] [blame] | 11 | implicit_include_directories: false, |
| 12 | version: meson.project_version(), |
| 13 | install: true, |
| 14 | install_dir: get_option('libdir') |
kasunath | 7ffd30a | 2022-05-10 18:11:34 -0700 | [diff] [blame] | 15 | ) |
| 16 | |
| 17 | libbej = declare_dependency( |
| 18 | include_directories: libbej_incs, |
| 19 | link_with: libbej_lib |
| 20 | ) |
Willy Tu | cc4098e | 2022-06-23 11:39:38 -0700 | [diff] [blame] | 21 | |
| 22 | import('pkgconfig').generate( |
| 23 | libbej_lib, |
| 24 | name: 'libbej', |
| 25 | version: meson.project_version(), |
| 26 | description: 'libbej') |