summaryrefslogtreecommitdiffstats
path: root/tools/xmlpatterns/xmlpatterns.pro
blob: 9c1aac1d01f4d171a4537ead5c0715ad110a6aae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
TEMPLATE = app
TARGET = xmlpatterns
DESTDIR = ../../bin
QT -= gui
QT += xmlpatterns

target.path = $$[QT_INSTALL_BINS]
INSTALLS += target

# This ensures we get stderr and stdout on Windows.
CONFIG += console

# This ensures that this is a command-line program on OS X and not a GUI application.
CONFIG -= app_bundle

# Note that qcoloroutput.cpp and qcoloringmessagehandler.cpp are also used internally
# in libQtXmlPatterns. See src/xmlpatterns/api/api.pri.
SOURCES = main.cpp                          \
          qapplicationargument.cpp          \
          qapplicationargumentparser.cpp    \
          qcoloringmessagehandler.cpp       \
          qcoloroutput.cpp


HEADERS = main.h                            \
          qapplicationargument.cpp          \
          qapplicationargumentparser.cpp    \
          qcoloringmessagehandler_p.h       \
          qcoloroutput_p.h

include(../src/common.pri)