mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-30 22:20:21 +00:00
Add the WIN32_CONSOLE_APP flag
If the user passes 'CONFIG += console' to qmake, we define WIN32_CONSOLE_APP that will be used in the source code to determine if this is a console or a GUI application on Win32. Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
fe2ad15603
commit
b3f78185a5
1 changed files with 4 additions and 0 deletions
|
@ -150,6 +150,10 @@ else: LIBS += -lmarblewidget
|
|||
libgit21-api {
|
||||
DEFINES += USE_LIBGIT21_API
|
||||
}
|
||||
|
||||
win32: console {
|
||||
DEFINES += WIN32_CONSOLE_APP
|
||||
}
|
||||
#
|
||||
# Platform-specific changes
|
||||
#
|
||||
|
|
Loading…
Reference in a new issue