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