Debian Codegraph @

test cases/rust/20 rust and cpp/meson.build

raw
1 # SPDX-License-Identifier: Apache-2.0
2 # Copyright © 2023 Intel Corporation
3
4 project(
5 'Rust and C++',
6 'rust', 'cpp',
7 default_options : ['cpp_std=c++14'],
8 meson_version : '>= 1.2.0',
9 )
10
11 cpplib = static_library('cpp-lib', 'lib.cpp')
12 exe = executable('main', 'main.rs', link_with : cpplib)
13
14 test('main', exe)