summaryrefslogtreecommitdiff
path: root/random/meson.build
blob: e3c3fa3e2c3401e774bfb6331cc8b136426fef78 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
librandom = static_library('nice-random',
  'random.c', 'random-glib.c',
  c_args: ['-DG_LOG_DOMAIN="libnice-random"'],
  include_directories: nice_incs,
  dependencies: gio_deps + [gthread_dep],
  install: false)

if not get_option('tests').disabled()
  test_exe = executable('nice-random-test', 'test.c',
    include_directories: nice_incs,
    dependencies: gio_deps + [gthread_dep],
    link_with: librandom)

  test('nice-random', test_exe)
endif