~emersion/mrsh

ref: 2195cd2616b71838ecd10878bb04f70a52cb238c mrsh/meson.build -rw-r--r-- 516 bytes
2195cd26emersion Update README with build instructions 3 years 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
26
27
28
29
30
31
32
project(
	'mrsh',
	'c',
	version: '0.0.0',
	license: 'MIT',
	meson_version: '>=0.43.0',
	default_options: [
		'c_std=c11',
		'warning_level=2',
		'werror=true',
	],
)

add_project_arguments('-Wno-unused-parameter', language: 'c')
add_project_arguments('-Wno-missing-braces', language: 'c')

mrsh_inc = include_directories('include')

executable(
	'mrsh',
	files([
		'array.c',
		'ast_print.c',
		'ast.c',
		'builtin.c',
		'main.c',
		'parser.c',
		'shell.c',
	]),
	include_directories: [mrsh_inc],
	install: true,
)