sync

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

meson.build (2088B)


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