mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-21 04:00:09 +01:00
License is missing in meson build files. This has been added using SPDX identifiers and licensed under LGPL-2.1+.
33 lines
887 B
Meson
33 lines
887 B
Meson
# SPDX-License-Identifier: LGPL-2.1+
|
|
|
|
#
|
|
# 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)
|