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')
|
||||
)
|
||||
|
||||
configure_file(
|
||||
input: 'cli.in',
|
||||
output: 'gradience-cli',
|
||||
configuration: local_conf,
|
||||
install_dir: join_paths(meson.project_build_root(), 'gradience', 'frontend')
|
||||
)
|
||||
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
|
||||
|
||||
gradience_sources = [
|
||||
'__init__.py'
|
||||
|
|
|
@ -7,11 +7,13 @@ configure_file(
|
|||
install_dir: get_option('bindir')
|
||||
)
|
||||
|
||||
configure_file(
|
||||
input: 'gradience.in',
|
||||
output: 'local-gradience',
|
||||
configuration: local_conf
|
||||
)
|
||||
if get_option('buildtype') == 'debug'
|
||||
configure_file(
|
||||
input: 'gradience.in',
|
||||
output: 'local-gradience',
|
||||
configuration: local_conf
|
||||
)
|
||||
endif
|
||||
|
||||
subdir('cli')
|
||||
subdir('dialogs')
|
||||
|
|
|
@ -18,4 +18,4 @@
|
|||
# You should have received a copy of the GNU General Public License
|
||||
# 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 New Issue