sync

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

meson.build (1832B)


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