diff options
author | Patrick Griffis <tingping@tingping.se> | 2017-10-23 04:53:04 -0400 |
---|---|---|
committer | Nirbheek Chauhan <nirbheek@centricular.com> | 2018-03-10 19:05:19 +0530 |
commit | 69fe98bdccc9c1c50e51bdfffa26cddacf07b575 (patch) | |
tree | f3cf06942548616e072fbad478c008bb77b516a3 /girepository/cmph/meson.build | |
parent | 81c7db8c53cc4dc1a7bb772fdca1bd5ec78708eb (diff) | |
download | gobject-introspection-69fe98bdccc9c1c50e51bdfffa26cddacf07b575.tar.gz |
Initial work on meson port
Diffstat (limited to 'girepository/cmph/meson.build')
-rw-r--r-- | girepository/cmph/meson.build | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/girepository/cmph/meson.build b/girepository/cmph/meson.build new file mode 100644 index 00000000..0c0e0af5 --- /dev/null +++ b/girepository/cmph/meson.build @@ -0,0 +1,50 @@ +cmph_sources = [ + 'bdz.c', + 'bdz_ph.c', + 'bmz8.c', + 'bmz.c', + 'brz.c', + 'buffer_entry.c', + 'buffer_manager.c', + 'chd.c', + 'chd_ph.c', + 'chm.c', + 'cmph.c', + 'cmph_structs.c', + 'compressed_rank.c', + 'compressed_seq.c', + 'fch_buckets.c', + 'fch.c', + 'graph.c', + 'hash.c', + 'jenkins_hash.c', + 'miller_rabin.c', + 'select.c', + 'vqueue.c', + 'vstack.c', +] + +cmph_deps = [ + gobject_dep, + cc.find_library('m', required: false), +] + +cmph = static_library('cmph', + sources: cmph_sources, + c_args: gi_hidden_visibility_cflags, + dependencies: cmph_deps, +) + +cmph_dep = declare_dependency( + link_with: cmph, + include_directories: include_directories('.'), +) + +cmph_test = executable('cmph-bdz-test', '../cmph-bdz-test.c', + dependencies: [ + cmph_dep, + gobject_dep, + ] +) + +test('cmph-bdz-test', cmph_test) |