exchange

Base system with REST service to issue digital coins, run by the payment service provider
Log | Files | Refs | Submodules | README | LICENSE

meson.build (2118B)


      1 # This build file is in the public domain
      2 
      3 install_data('coins.conf', 'exchange-offline.conf', install_dir: pkgcfgedir)
      4 
      5 executable(
      6     'taler-exchange-offline',
      7     ['taler-exchange-offline.c'],
      8     dependencies: [
      9         libtalerutil_dep,
     10         libtalerjson_dep,
     11         libtalerexchange_dep,
     12         gnunetjson_dep,
     13         gnunetutil_dep,
     14         gnunetcurl_dep,
     15         gcrypt_dep,
     16         json_dep,
     17     ],
     18     include_directories: [incdir, configuration_inc],
     19     install: true,
     20 )
     21 
     22 
     23 executable(
     24     'taler-exchange-kyc-trigger',
     25     ['taler-exchange-kyc-trigger.c'],
     26     dependencies: [
     27         libtalerutil_dep,
     28         libtalerexchange_dep,
     29         gnunetjson_dep,
     30         gnunetutil_dep,
     31         gnunetcurl_dep,
     32         gcrypt_dep,
     33         json_dep,
     34     ],
     35     include_directories: [incdir, configuration_inc],
     36     install: true,
     37 )
     38 
     39 
     40 executable(
     41     'taler-auditor-offline',
     42     ['taler-auditor-offline.c'],
     43     dependencies: [
     44         libtalerutil_dep,
     45         libtalerjson_dep,
     46         libtalerexchange_dep,
     47         gnunetjson_dep,
     48         gnunetutil_dep,
     49         gnunetcurl_dep,
     50         gcrypt_dep,
     51         json_dep,
     52     ],
     53     include_directories: [incdir, configuration_inc],
     54     install: true,
     55 )
     56 
     57 
     58 exchange_dbinit = executable(
     59     'taler-exchange-dbinit',
     60     ['taler-exchange-dbinit.c'],
     61     dependencies: [
     62         libtalerutil_dep,
     63         libtalerpq_dep,
     64         libtalerexchangedb_dep,
     65         gnunetpq_dep,
     66         gnunetutil_dep,
     67         pq_dep,
     68         gcrypt_dep,
     69     ],
     70     include_directories: [incdir, configuration_inc],
     71     install: true,
     72 )
     73 
     74 # Install the customization in a fresh database before exercising its triggers.
     75 test_tops_sh = configure_file(
     76     input: '../exchangedb/test_tops.sh', output: 'test_tops.sh', copy: true,
     77 )
     78 configure_file(
     79     input: '../exchangedb/test_tops.sql', output: 'test_tops.sql', copy: true,
     80 )
     81 test(
     82     'test_tops', test_tops_sh,
     83     workdir: meson.current_build_dir(), suite: ['exchangedb'],
     84     depends: [exchange_dbinit, exchangedb_sql_targets],
     85     env: {'TALER_BUILD_ROOT': meson.project_build_root()},
     86     is_parallel: false, timeout: 120,
     87 )