patches and low-level development discussion
 help / color / mirror / code / Atom feed
blob d07c5a039b80c78154c6a8d51cafb29c54cde16f 739 bytes (raw)
name: tools/start-vmm/meson.build 	 # note: path name is non-authoritative(*)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
 
# SPDX-License-Identifier: EUPL-1.2+
# SPDX-FileCopyrightText: 2022-2024 Alyssa Ross <hi@alyssa.is>

c_lib = static_library('start-vmm', 'net.c', 'net-util.c',
  c_args : '-D_GNU_SOURCE')

rust_lib = static_library('start_vmm', 'lib.rs',
  dependencies : miniserde_dep,
  link_with : c_lib)

rust_lib_dep = declare_dependency(
  dependencies : miniserde_dep,
  link_with : rust_lib)

executable('start-vmm', 'start-vmm.rs',
  dependencies : miniserde_dep,
  link_with : rust_lib,
  install : true)

if get_option('tests')
  test_exe = executable('start-vmm-test', 'lib.rs',
    dependencies : miniserde_dep,
    rust_args : ['--test'],
    link_with : c_lib)
  test('Rust unit tests', test_exe, protocol : 'rust')

  subdir('tests')
endif

debug log:

solving d07c5a0 ...
found d07c5a0 in https://spectrum-os.org/git/spectrum

(*) Git path names are given by the tree(s) the blob belongs to.
    Blobs themselves have no identifier aside from the hash of its contents.^

Code repositories for project(s) associated with this public inbox

	https://spectrum-os.org/git/doc
	https://spectrum-os.org/git/mktuntap
	https://spectrum-os.org/git/spectrum
	https://spectrum-os.org/git/ucspi-vsock

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).