aboutsummaryrefslogtreecommitdiff
path: root/src/lib/hello/meson.build
blob: caf70e4a7fc8749703706f5d943d21e25d269e4b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
libgnunethello_src = ['hello-uri.c']

libgnunethello = library('gnunethello',
        libgnunethello_src,
        soversion: '0',
        version: '0.1.0',
        dependencies: libgnunetutil_dep,
        include_directories: [incdir, configuration_inc],
        install: true,
        install_dir: get_option('libdir'))
libgnunethello_dep = declare_dependency(link_with : libgnunethello)
pkg.generate(libgnunethello, url: 'https://www.gnunet.org',
             description : 'Helper library for handling GNUnet HELLO messages')


test_hello_uri = executable ('test_hello_uri',
            ['test_hello-uri.c'],
            dependencies: [libgnunethello_dep,
                           libgnunetutil_dep,
                           gcrypt_dep],
            include_directories: [incdir, configuration_inc],
            build_by_default: false,
            install: false)

test('test_hello_uri', test_hello_uri,
  workdir: meson.current_build_dir(),
  suite: ['hello'])