Only compile the bezos_ctl for windows.

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

@ -123,6 +123,7 @@ executable('bezos', ['src/main.cpp'],
override_options: exe_defaults, override_options: exe_defaults,
dependencies: dependencies) dependencies: dependencies)
if build_machine.system() == 'windows'
# bezos_ctrl is a version of bezos_cli compiled to be a 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 # 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. # stream deck and other launchers don't open a cmd.exe to run it.
@ -133,6 +134,7 @@ executable('bezos_ctrl', ['src/bezos_ctl.cpp'],
override_options: exe_defaults, override_options: exe_defaults,
win_subsystem: 'windows', win_subsystem: 'windows',
dependencies: dependencies) dependencies: dependencies)
endif
executable('bezos_cli', ['src/bezos_ctl.cpp'], executable('bezos_cli', ['src/bezos_ctl.cpp'],
cpp_args: cpp_args, cpp_args: cpp_args,

Loading…
Cancel
Save