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', |
Nikhil Namjoshi | da6e557 | 2023-03-13 10:52:53 -0700 | [diff] [blame] | 10 | 'bej_encoder_json.cpp', |
kasunath | 7ffd30a | 2022-05-10 18:11:34 -0700 | [diff] [blame] | 11 | include_directories : libbej_incs, |
Willy Tu | cc4098e | 2022-06-23 11:39:38 -0700 | [diff] [blame] | 12 | implicit_include_directories: false, |
| 13 | version: meson.project_version(), |
| 14 | install: true, |
| 15 | install_dir: get_option('libdir') |
kasunath | 7ffd30a | 2022-05-10 18:11:34 -0700 | [diff] [blame] | 16 | ) |
| 17 | |
| 18 | libbej = declare_dependency( |
| 19 | include_directories: libbej_incs, |
| 20 | link_with: libbej_lib |
| 21 | ) |
Willy Tu | cc4098e | 2022-06-23 11:39:38 -0700 | [diff] [blame] | 22 | |
| 23 | import('pkgconfig').generate( |
| 24 | libbej_lib, |
| 25 | name: 'libbej', |
| 26 | version: meson.project_version(), |
| 27 | description: 'libbej') |