libcubescript/tools/meson.build

20 lines
460 B
Meson
Raw Normal View History

2018-10-28 02:55:12 +02:00
repl_src = [
'repl.cc'
]
2021-03-20 08:22:15 +01:00
repl_deps = [libcubescript]
2018-10-28 02:55:12 +02:00
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