Only compile the bezos_ctl for windows.

master
Zed A. Shaw 3 weeks ago
parent 26ed4b74ce
commit 8929f0894b
  1. 10
      meson.build

@ -123,16 +123,18 @@ executable('bezos', ['src/main.cpp'],
override_options: exe_defaults,
dependencies: dependencies)
# bezos_ctrl is a version of bezos_cli compiled to be a windows
# app instead of console. Ironically you have to do this so that
# stream deck and other launchers don't open a cmd.exe to run it.
executable('bezos_ctrl', ['src/bezos_ctl.cpp'],
if build_machine.system() == 'windows'
# bezos_ctrl is a version of bezos_cli compiled to be a windows
# app instead of console. Ironically you have to do this so that
# stream deck and other launchers don't open a cmd.exe to run it.
executable('bezos_ctrl', ['src/bezos_ctl.cpp'],
cpp_args: cpp_args,
link_args: link_args,
include_directories: inc_dirs,
override_options: exe_defaults,
win_subsystem: 'windows',
dependencies: dependencies)
endif
executable('bezos_cli', ['src/bezos_ctl.cpp'],
cpp_args: cpp_args,

Loading…
Cancel
Save