Files
tqma6-yocto-mirror/sources/poky/meta-selftest/recipes-test/cpp/files/meson.build
Siggi (OpenClaw Agent) 16accb6b24 Complete Yocto mirror with license table for TQMa6UL (2038-compliance)
- 264 license table entries with exact download URLs (224/264 resolved)
- Complete sources/ directory with all BitBake recipes
- Build configuration: tqma6ul-multi-mba6ulx, spaetzle (musl)
- Full traceability for Softwarefreigabeantrag
- GCC 13.4.0, Linux 6.6.102, U-Boot 2023.04, musl 1.2.4
- License distribution: GPL-2.0 (24), MIT (23), GPL-2.0+ (18), BSD-3 (16)
2026-03-01 21:14:11 +00:00

39 lines
821 B
Meson

#
# Copyright OpenEmbedded Contributors
#
# SPDX-License-Identifier: MIT
#
project('meson-example', 'cpp',
version: '1.0.0',
default_options: ['cpp_std=c++17']
)
jsoncdep = dependency('json-c')
if get_option('FAILING_TEST').enabled()
add_project_arguments('-DFAIL_COMPARISON_STR=foo', language: 'cpp')
endif
mesonexlib = shared_library('mesonexlib',
'cpp-example-lib.cpp', 'cpp-example-lib.hpp',
version: meson.project_version(),
soversion: meson.project_version().split('.')[0],
dependencies : jsoncdep,
install : true
)
executable('mesonex',
'cpp-example.cpp',
link_with : mesonexlib,
install : true
)
test_mesonex = executable('test-mesonex',
'test-cpp-example.cpp',
link_with : mesonexlib,
install : true
)
test('meson example test', test_mesonex)