diff --git a/src/bin/clapper-app/meson.build b/src/bin/clapper-app/meson.build index 76e298a6..515e83cc 100644 --- a/src/bin/clapper-app/meson.build +++ b/src/bin/clapper-app/meson.build @@ -88,5 +88,18 @@ executable( c_args: clapperapp_c_args, install: true, install_dir: bindir, + win_subsystem: 'windows', ) +if ['windows'].contains(host_machine.system()) + executable( + meson.project_name() + '-console', + clapperapp_sources, + dependencies: clapperapp_deps, + include_directories: clapperapp_conf_inc, + c_args: clapperapp_c_args, + install: true, + install_dir: bindir, + win_subsystem: 'console', + ) +endif build_clapperapp = true