23 lines
573 B
Meson
23 lines
573 B
Meson
project('tmp.c', 'cpp', 'c',
|
|
version: 'v0.1',
|
|
license: 'MIT'
|
|
)
|
|
|
|
curl_dep = dependency('libcurl', version : '>=8.0.0')
|
|
curl_libs = run_command('curl-config', '--libs', check: true).stdout().strip()
|
|
|
|
read_exe = executable('read', 'read.c', link_language : 'c',)
|
|
readpp_exe = executable('read++', 'read++.cpp')
|
|
|
|
#worker_exe = executable('worker', 'worker.cpp')
|
|
|
|
account_sources = [
|
|
'main.cpp',
|
|
'common.h',
|
|
'account.cpp', 'account.h',
|
|
'worker.h',
|
|
]
|
|
account_exe = executable('account', account_sources,
|
|
cpp_args: ['-std=c++23'],
|
|
link_args : [curl_libs],
|
|
)
|