sync

Backup service to store encrypted wallet databases (experimental)
Log | Files | Refs | Submodules | README | LICENSE

meson.build (2133B)


      1 # This build file is in the public domain
      2 libsynctesting = library(
      3     'synctesting',
      4     [
      5         'testing_api_traits.c',
      6         'testing_api_cmd_block_common.c',
      7         'testing_api_cmd_block_append.c',
      8         'testing_api_cmd_block_update.c',
      9         'testing_api_cmd_block_delete.c',
     10         'testing_api_cmd_block_list.c',
     11         'testing_api_cmd_block_reconcile.c',
     12         'testing_api_cmd_object_upload.c',
     13         'testing_api_cmd_object_fetch.c',
     14     ],
     15     soversion: solibversions['libsynctesting']['soversion'],
     16     version: solibversions['libsynctesting']['soversion'],
     17     install_rpath: rpath_option,
     18     dependencies: [
     19         libsync_dep,
     20         libsyncutil_dep,
     21         talermerchant_dep,
     22         talerutil_dep,
     23         talerexchange_dep,
     24         talerjson_dep,
     25         talertesting_dep,
     26         gnunetjson_dep,
     27         gnunetutil_dep,
     28         gnunetcurl_dep,
     29         json_dep,
     30     ],
     31     include_directories: [incdir, configuration_inc],
     32     install: true,
     33     install_dir: get_option('libdir'),
     34 )
     35 
     36 libsynctesting_dep = declare_dependency(link_with: libsynctesting)
     37 pkg.generate(
     38     libsynctesting,
     39     url: 'https://taler.net',
     40     description: 'GNU Taler sync testing library',
     41 )
     42 
     43 
     44 test_sync_api = executable(
     45     'test_sync_api',
     46     ['test_sync_api.c'],
     47     install_rpath: rpath_option,
     48     dependencies: [
     49         libsync_dep,
     50         libsynctesting_dep,
     51         libsyncutil_dep,
     52         talerutil_dep,
     53         talerjson_dep,
     54         talermerchant_dep,
     55         talerexchange_dep,
     56         talerbank_dep,
     57         talerfakebank_dep,
     58         talermerchanttesting_dep,
     59         talertesting_dep,
     60         gnunetutil_dep,
     61         gnunetjson_dep,
     62         gnunetcurl_dep,
     63         json_dep,
     64     ],
     65     include_directories: [incdir, configuration_inc],
     66     install: false,
     67 )
     68 test(
     69     'test_sync_api',
     70     test_sync_api,
     71     workdir: meson.current_build_dir(),
     72     suite: ['testing', 'installcheck'],
     73     is_parallel: false,
     74 )
     75 configure_file(
     76     input: 'test_sync_api.conf',
     77     output: 'test_sync_api.conf',
     78     copy: true,
     79 )
     80 
     81 subdir('test_sync_api_home' / '.local' / 'share' / 'taler' / 'exchange-offline')
     82