diff options
author | Max Kellermann <max@musicpd.org> | 2017-12-29 17:12:55 +0100 |
---|---|---|
committer | Max Kellermann <max@musicpd.org> | 2018-10-14 23:41:38 +0200 |
commit | 94592c14062d5afc9482d11baa401648082022c0 (patch) | |
tree | 8723d462737f883181fb1aaa3f91ee3d0add9721 /src/lib/yajl | |
parent | 13ce142df137f346526de2a31a7ccbd59a903cdd (diff) |
build with Meson instead of autotools
So long, autotools! This is my last MPD related project to migrate
away from it. It has its strengths, but also very obvious weaknesses
and weirdnesses. Today, many of its quirks are not needed anymore,
and are cumbersome and slow. Now welcome our new Meson overlords!
Diffstat (limited to 'src/lib/yajl')
-rw-r--r-- | src/lib/yajl/meson.build | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/src/lib/yajl/meson.build b/src/lib/yajl/meson.build new file mode 100644 index 000000000..91dc046fb --- /dev/null +++ b/src/lib/yajl/meson.build @@ -0,0 +1,21 @@ +yajl_dep = dependency('yajl', required: get_option('yajl')) +if not yajl_dep.found() + subdir_done() +endif + +yajl = static_library( + 'yajl', + 'ResponseParser.cxx', + 'ParseInputStream.cxx', + include_directories: inc, + dependencies: [ + yajl_dep, + ], +) + +yajl_dep = declare_dependency( + link_with: yajl, + dependencies: [ + yajl_dep, + ], +) |