libcubescript/tools/meson.build
Daniel Kolesa 36bf0e368f drop readline support in repl
this library is bad, and its documentation is even worse

and our linenoise now supports every non-boomer platform already
anyway
2021-04-12 20:43:19 +02:00

20 lines
460 B
Meson

repl_src = [
'repl.cc'
]
repl_deps = [libcubescript]
repl_flags = []
if not get_option('repl').disabled()
if not get_option('linenoise').disabled()
repl_flags = ['-DCS_REPL_USE_LINENOISE']
endif
executable('cubescript',
repl_src,
dependencies: repl_deps,
include_directories: libcubescript_includes + [include_directories('.')],
cpp_args: extra_cxxflags + repl_flags,
install: true
)
endif