random/meson.build
raw| 1 | librandom = static_library('nice-random', |
| 2 | 'random.c', 'random-glib.c', |
| 3 | c_args: ['-DG_LOG_DOMAIN="libnice-random"'], |
| 4 | include_directories: nice_incs, |
| 5 | dependencies: gio_deps + [gthread_dep], |
| 6 | install: false) |
| 7 | |
| 8 | if not get_option('tests').disabled() |
| 9 | test_exe = executable('nice-random-test', 'test.c', |
| 10 | include_directories: nice_incs, |
| 11 | dependencies: gio_deps + [gthread_dep], |
| 12 | link_with: librandom) |
| 13 | |
| 14 | test('nice-random', test_exe) |
| 15 | endif |