build,meson: add sms-c examples to build

This commit is contained in:
Aleksander Morgado
2021-09-08 11:37:46 +02:00
parent 86421f06bd
commit 2e44a5921b
2 changed files with 18 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
# SPDX-License-Identifier: GPL-2.0-or-later
# Copyright (C) 2021 Aleksander Morgado <aleksander@aleksander.es>
example_units = [
'sms-c-sync',
'sms-c-async',
]
foreach example_unit: example_units
executable(
example_unit,
example_unit + '.c',
include_directories: top_inc,
dependencies: libmm_glib_dep,
)
endforeach

View File

@@ -360,6 +360,8 @@ subdir('cli')
subdir('test')
subdir('tools/tests')
subdir('examples/sms-c')
enable_man = get_option('man')
if enable_man
subdir('docs/man')