summaryrefslogtreecommitdiff
path: root/src/util
diff options
context:
space:
mode:
authorMax Kellermann <max@musicpd.org>2017-12-29 17:12:55 +0100
committerMax Kellermann <max@musicpd.org>2018-10-14 23:41:38 +0200
commit94592c14062d5afc9482d11baa401648082022c0 (patch)
tree8723d462737f883181fb1aaa3f91ee3d0add9721 /src/util
parent13ce142df137f346526de2a31a7ccbd59a903cdd (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/util')
-rw-r--r--src/util/meson.build37
1 files changed, 37 insertions, 0 deletions
diff --git a/src/util/meson.build b/src/util/meson.build
new file mode 100644
index 000000000..2384b96a3
--- /dev/null
+++ b/src/util/meson.build
@@ -0,0 +1,37 @@
+util = static_library(
+ 'util',
+ 'Exception.cxx',
+ 'Alloc.cxx',
+ 'UTF8.cxx',
+ 'HexFormat.cxx',
+ 'MimeType.cxx',
+ 'StringView.cxx',
+ 'AllocatedString.cxx',
+ 'TruncateString.cxx',
+ 'StringStrip.cxx',
+ 'StringUtil.cxx',
+ 'StringCompare.cxx',
+ 'WStringCompare.cxx',
+ 'DivideString.cxx',
+ 'SplitString.cxx',
+ 'FormatString.cxx',
+ 'Tokenizer.cxx',
+ 'TimeParser.cxx',
+ 'TimeConvert.cxx',
+ 'TimeISO8601.cxx',
+ 'UriUtil.cxx',
+ 'LazyRandomEngine.cxx',
+ 'HugeAllocator.cxx',
+ 'PeakBuffer.cxx',
+ 'PrintException.cxx',
+ 'SparseBuffer.cxx',
+ 'OptionParser.cxx',
+ 'ByteReverse.cxx',
+ 'format.c',
+ 'bit_reverse.c',
+ include_directories: inc,
+)
+
+util_dep = declare_dependency(
+ link_with: util,
+)