diff options
author | Lubomir I. Ivanov <neolit123@gmail.com> | 2014-03-25 16:55:55 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-03-25 07:57:25 -0700 |
commit | b3f78185a5e9cfbbb5f7d8cb1e7b389c7a1c6b5c (patch) | |
tree | 37ef7d9aa06b8d9981470014200db07239263025 /subsurface-configure.pri | |
parent | fe2ad15603ecb00a573d19e47d7d0c412d4a588a (diff) | |
download | subsurface-b3f78185a5e9cfbbb5f7d8cb1e7b389c7a1c6b5c.tar.gz |
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>
Diffstat (limited to 'subsurface-configure.pri')
-rw-r--r-- | subsurface-configure.pri | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/subsurface-configure.pri b/subsurface-configure.pri index dff3b6f7d..c01af7ab8 100644 --- a/subsurface-configure.pri +++ b/subsurface-configure.pri @@ -150,6 +150,10 @@ else: LIBS += -lmarblewidget libgit21-api { DEFINES += USE_LIBGIT21_API } + +win32: console { + DEFINES += WIN32_CONSOLE_APP +} # # Platform-specific changes # |