mirror of
https://github.com/tio/tio.git
synced 2026-05-01 14:57:59 +02:00
add support for a configuration file
Signed-off-by: Liam Beguin <liambeguin@gmail.com>
This commit is contained in:
parent
2795ef6c79
commit
2e5c1ff20c
6 changed files with 274 additions and 1 deletions
|
|
@ -13,6 +13,14 @@ tio_sources = [
|
|||
'print.c'
|
||||
]
|
||||
|
||||
# dependencies
|
||||
if get_option('conffile')
|
||||
inih = meson.get_compiler('c').find_library('inih')
|
||||
tio_sources += 'conffile.c'
|
||||
else
|
||||
inih = dependency()
|
||||
endif
|
||||
|
||||
tio_c_args = []
|
||||
|
||||
if enable_setspeed2
|
||||
|
|
@ -28,6 +36,7 @@ endif
|
|||
executable('tio',
|
||||
tio_sources,
|
||||
c_args: tio_c_args,
|
||||
dependencies: inih,
|
||||
install: true )
|
||||
|
||||
subdir('bash-completion')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue