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