2022-12-10 15:55:42 +00:00
|
|
|
clidir = 'gradience/frontend/cli'
|
|
|
|
|
|
|
|
configure_file(
|
|
|
|
input: 'cli.in',
|
|
|
|
output: 'gradience-cli',
|
|
|
|
configuration: conf,
|
|
|
|
install_dir: get_option('bindir')
|
|
|
|
)
|
|
|
|
|
2023-02-11 21:06:05 +00:00
|
|
|
if get_option('buildtype') == 'debug'
|
|
|
|
configure_file(
|
|
|
|
input: 'cli.in',
|
|
|
|
output: 'local-gradience-cli',
|
|
|
|
configuration: local_conf,
|
|
|
|
install_dir: join_paths(meson.project_build_root(), 'gradience', 'frontend')
|
|
|
|
)
|
|
|
|
endif
|
2022-12-17 17:58:30 +00:00
|
|
|
|
2022-12-10 15:55:42 +00:00
|
|
|
gradience_sources = [
|
|
|
|
'__init__.py'
|
|
|
|
]
|
|
|
|
PY_INSTALLDIR.install_sources(gradience_sources, subdir: clidir)
|