mirror of
https://github.com/GradienceTeam/Gradience.git
synced 2024-04-28 01:07:22 +00:00
meson: configure local build launchers if buildtype is set to debug
* change CLI local launcher name to `local-gradience-cli`
This commit is contained in:
parent
bd0fb4a0bd
commit
75d2a89216
|
@ -7,12 +7,14 @@ configure_file(
|
||||||
install_dir: get_option('bindir')
|
install_dir: get_option('bindir')
|
||||||
)
|
)
|
||||||
|
|
||||||
configure_file(
|
if get_option('buildtype') == 'debug'
|
||||||
input: 'cli.in',
|
configure_file(
|
||||||
output: 'gradience-cli',
|
input: 'cli.in',
|
||||||
configuration: local_conf,
|
output: 'local-gradience-cli',
|
||||||
install_dir: join_paths(meson.project_build_root(), 'gradience', 'frontend')
|
configuration: local_conf,
|
||||||
)
|
install_dir: join_paths(meson.project_build_root(), 'gradience', 'frontend')
|
||||||
|
)
|
||||||
|
endif
|
||||||
|
|
||||||
gradience_sources = [
|
gradience_sources = [
|
||||||
'__init__.py'
|
'__init__.py'
|
||||||
|
|
|
@ -7,11 +7,13 @@ configure_file(
|
||||||
install_dir: get_option('bindir')
|
install_dir: get_option('bindir')
|
||||||
)
|
)
|
||||||
|
|
||||||
configure_file(
|
if get_option('buildtype') == 'debug'
|
||||||
input: 'gradience.in',
|
configure_file(
|
||||||
output: 'local-gradience',
|
input: 'gradience.in',
|
||||||
configuration: local_conf
|
output: 'local-gradience',
|
||||||
)
|
configuration: local_conf
|
||||||
|
)
|
||||||
|
endif
|
||||||
|
|
||||||
subdir('cli')
|
subdir('cli')
|
||||||
subdir('dialogs')
|
subdir('dialogs')
|
||||||
|
|
|
@ -18,4 +18,4 @@
|
||||||
# You should have received a copy of the GNU General Public License
|
# You should have received a copy of the GNU General Public License
|
||||||
# along with this program. If not, see <https://www.gnu.org/licenses/>.
|
# along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
python builddir/gradience/frontend/gradience-cli "$@"
|
python builddir/gradience/frontend/local-gradience-cli "$@"
|
||||||
|
|
Loading…
Reference in a new issue