]> git.sur5r.net Git - tio/blob - src/meson.build
New upstream version 1.34
[tio] / src / meson.build
1 config_h = configuration_data()
2 config_h.set_quoted('VERSION', meson.project_version())
3 config_h.set('BAUDRATE_CASES', baudrate_cases)
4 configure_file(output: 'config.h', configuration: config_h)
5
6 tio_sources = [
7   'error.c',
8   'log.c',
9   'main.c',
10   'options.c',
11   'misc.c',
12   'tty.c',
13   'print.c'
14 ]
15
16 tio_c_args = []
17
18 if enable_setspeed2
19   tio_sources += 'setspeed2.c'
20   tio_c_args += '-DHAVE_TERMIOS2'
21 endif
22
23 executable('tio',
24   tio_sources,
25   c_args: tio_c_args,
26   install: true )
27
28 subdir('bash-completion')