~emersion/blackbox

blackbox/meson.build -rw-r--r-- 379 bytes
4f8e51ebSimon Ser Accept command to run as arg 5 months ago
                                                                                
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
project(
	'blackbox',
	'c',
	default_options: [
		'c_std=c11',
		'warning_level=3',
		'werror=true',
	],
)

add_project_arguments('-D_POSIX_C_SOURCE=2', language: 'c')

cc = meson.get_compiler('c')

add_project_arguments(cc.get_supported_arguments([
	'-Wundef',
	'-Wmissing-prototypes',

	'-Wno-unused-parameter',
]), language: 'c')

executable(
	'blackbox',
	files('main.c'),
)