- 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)
39 lines
821 B
Meson
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)
|