10 lines
508 B
Meson
10 lines
508 B
Meson
project('pihelper', 'c')
|
|
crypto = dependency('libcrypto')
|
|
curl = dependency('libcurl')
|
|
jsonc = dependency('json-c')
|
|
ssl = dependency('libssl')
|
|
incdir = include_directories('include')
|
|
lib_dependencies = [ crypto, curl, ssl, jsonc ]
|
|
lib_sources = [ 'src/config.c', 'src/log.c', 'src/network.c', 'src/pihelper.c' ]
|
|
lib = library('pihelper', lib_sources, include_directories: incdir, dependencies: lib_dependencies)
|
|
executable('pihelper', ['src/cli.h', 'src/cli.c'], link_with: lib, include_directories: incdir)
|