mirror of
https://github.com/tio/tio.git
synced 2026-05-01 14:57:59 +02:00
Replace autotools with meson
To introduce much simpler build configuration which is also easier to maintain.
This commit is contained in:
parent
c01152bb38
commit
e9208d693e
26 changed files with 156 additions and 550 deletions
24
src/meson.build
Normal file
24
src/meson.build
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
config_h = configuration_data()
|
||||
config_h.set_quoted('VERSION', meson.project_version())
|
||||
config_h.set('BAUDRATE_CASES', baudrate_cases)
|
||||
configure_file(output: 'config.h', configuration: config_h)
|
||||
|
||||
tio_sources = [
|
||||
'error.c',
|
||||
'log.c',
|
||||
'main.c',
|
||||
'options.c',
|
||||
'misc.c',
|
||||
'tty.c'
|
||||
]
|
||||
|
||||
if tcgets2 != ''
|
||||
tio_sources += 'setspeed2.c'
|
||||
endif
|
||||
|
||||
executable('tio',
|
||||
tio_sources,
|
||||
install: true,
|
||||
)
|
||||
|
||||
subdir('bash-completion')
|
||||
Loading…
Add table
Add a link
Reference in a new issue