diff options
author | Tim-Philipp Müller <tim@centricular.com> | 2017-07-30 16:42:52 +0100 |
---|---|---|
committer | Olivier Crête <olivier.crete@collabora.com> | 2018-12-14 14:47:01 -0500 |
commit | 0e0f89d2b916dc0475787e0970bb692882ee3de2 (patch) | |
tree | e63653836a4e07fd0d54c5b2b5b52d7535d37c91 /random | |
parent | ed70ea09b6b283b25d3047443c00a14c8cb29e1a (diff) | |
download | libnice-0e0f89d2b916dc0475787e0970bb692882ee3de2.tar.gz |
Add support for Meson build system
Diffstat (limited to 'random')
-rw-r--r-- | random/meson.build | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/random/meson.build b/random/meson.build new file mode 100644 index 0000000..14eaaff --- /dev/null +++ b/random/meson.build @@ -0,0 +1,15 @@ +librandom = static_library('nice-random', + 'random.c', 'random-glib.c', + c_args: ['-DG_LOG_DOMAIN="libnice-random"'], + include_directories: nice_incs, + dependencies: [glib_dep, gthread_dep], + install: false) + +if not get_option('tests').disabled() + test_exe = executable('nice-random-test', 'test.c', + include_directories: nice_incs, + dependencies: [glib_dep, gthread_dep], + link_with: librandom) + + test('nice-random', test_exe) +endif |