meson: move launcher var to local launcher configuration

This commit is contained in:
tfuxu 2023-02-12 02:28:39 +01:00
parent 864e1f8c43
commit 9302552892
No known key found for this signature in database
GPG key ID: 79CFC3B9B31C098A
2 changed files with 6 additions and 6 deletions

View file

@ -13,6 +13,12 @@ if get_option('buildtype') == 'debug'
output: 'local-gradience',
configuration: local_conf
)
launcher = join_paths(meson.project_build_root(), moduledir, 'frontend', 'local-' + meson.project_name())
run_target('run',
command: [launcher]
)
endif
subdir('cli')

View file

@ -3,12 +3,6 @@ moduledir = 'gradience'
subdir('backend')
subdir('frontend')
launcher = join_paths(meson.project_build_root(), moduledir, 'frontend', 'local-' + meson.project_name())
run_target('run',
command: [launcher]
)
gradience_sources = [
'__init__.py'
]