patches and low-level development discussion
 help / color / mirror / code / Atom feed
blob d465e99c2ef597fdf7e818748d08db3d96f4ec6b 1008 bytes (raw)
name: tools/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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
 
# SPDX-License-Identifier: EUPL-1.2+
# SPDX-FileCopyrightText: 2024-2025 Alyssa Ross <hi@alyssa.is>

project('spectrum-tools', 'c',
  default_options : {
    'c_std': 'c23',
    'rust_std': '2018',
    'warning_level': '3',
  })

add_project_arguments('-Wno-error=attributes', language : 'c')
add_project_arguments('-Werror=missing-prototypes', language : 'c')
add_project_arguments('-Werror=missing-declarations', language : 'c')

if not get_option('unwind')
  add_project_arguments('-C', 'panic=abort', language : 'rust')
endif

if get_option('build')
  executable('lseek', 'lseek.c', c_args : '-D_XOPEN_SOURCE', install : true)
endif

if get_option('host')
  add_languages('rust')

  miniserde_dep = dependency('miniserde-rs')

  executable('sd-notify-adapter', 'sd-notify-adapter.c',
    c_args : '-D_GNU_SOURCE',
    install: true)

  subdir('lsvm')
  subdir('start-vmm')
endif

if get_option('app')
  subdir('xdg-desktop-portal-spectrum')
endif

if get_option('driver')
  subdir('xdp-forwarder')
endif

debug log:

solving d465e99c2ef597fdf7e818748d08db3d96f4ec6b ...
found d465e99c2ef597fdf7e818748d08db3d96f4ec6b 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).