NetworkManager/shared/c-stdaux/src/meson.build
Thomas Haller 5eab3c9987 shared/c-stdaux: merge initial import of 'shared/c-stdaux'
Imported c-stdaux code with command:

  git subtree add --prefix shared/c-stdaux git@github.com:c-util/c-stdaux.git master --squash

To update the library use:

  git subtree pull --prefix shared/c-stdaux git@github.com:c-util/c-stdaux.git master --squash
2019-04-14 11:45:49 +02:00

31 lines
849 B
Meson

#
# target: libcstdaux.so
# (No .so is built so far, since we are header-only. This might change in the
# future, if we add more complex helpers.)
#
libcstdaux_dep = declare_dependency(
include_directories: include_directories('.'),
version: meson.project_version(),
)
if not meson.is_subproject()
install_headers('c-stdaux.h')
mod_pkgconfig.generate(
version: meson.project_version(),
name: 'libcstdaux',
filebase: 'libcstdaux',
description: project_description,
)
endif
#
# target: test-*
#
test_api = executable('test-api', ['test-api.c'], dependencies: libcstdaux_dep)
test('API Symbol Visibility', test_api)
test_basic = executable('test-basic', ['test-basic.c'], dependencies: libcstdaux_dep)
test('Basic API Behavior', test_basic)