Build CLI wrappers for Qt applications by default
Most of my Qt apps provide at least a basic CLI as well so providing the CLI wrapper by default makes most sense.
This commit is contained in:
parent
a91c015e1c
commit
6e4ea3652c
|
@ -64,6 +64,8 @@ endif ()
|
||||||
if (WIN32)
|
if (WIN32)
|
||||||
# set "GUI-type" to WIN32 to hide console under Windows
|
# set "GUI-type" to WIN32 to hide console under Windows
|
||||||
set(GUI_TYPE WIN32)
|
set(GUI_TYPE WIN32)
|
||||||
|
# add option for building CLI-wrapper
|
||||||
|
option(BUILD_CLI_WRAPPER "whether to build a CLI wrapper" ON)
|
||||||
elseif (APPLE)
|
elseif (APPLE)
|
||||||
# make the GUI application a "bundle" under MacOSX
|
# make the GUI application a "bundle" under MacOSX
|
||||||
set(GUI_TYPE MACOSX_BUNDLE)
|
set(GUI_TYPE MACOSX_BUNDLE)
|
||||||
|
|
Loading…
Reference in New Issue