tmp.c/meson.build
Vincent Batts 7628ecc915
main: :ohno: linked to libcurl and did a webconnect
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2025-02-10 17:58:07 -05:00

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],
)