comparison checker.pro @ 7:846464771d06

Use qmake for everything, + build static lib too
author Chris Cannam
date Thu, 14 Apr 2016 09:42:26 +0100
parents 6f891a9c6434
children
comparison
equal deleted inserted replaced
6:61dbb18f2369 7:846464771d06
1 1
2 TEMPLATE = app 2 TEMPLATE = app
3 3
4 CONFIG += qt stl c++11 exceptions console warn_on 4 include(checker.pri)
5 QT -= xml network gui widgets
6 5
7 # Using the "console" CONFIG flag above should ensure this happens for 6 # Using the "console" CONFIG flag above should ensure this happens for
8 # normal Windows builds, but this may be necessary when cross-compiling 7 # normal Windows builds, but this may be necessary when cross-compiling
9 win32-x-g++:QMAKE_LFLAGS += -Wl,-subsystem,console 8 win32-x-g++:QMAKE_LFLAGS += -Wl,-subsystem,console
10 9
11 QMAKE_CXXFLAGS += -Werror
12
13 TARGET = checker 10 TARGET = checker
14 11
15 OBJECTS_DIR = o
16 MOC_DIR = o
17
18 HEADERS += \
19 plugincandidates.h \
20 knownplugins.h
21
22 SOURCES += \ 12 SOURCES += \
23 plugincandidates.cpp \
24 knownplugins.cpp \
25 checker.cpp 13 checker.cpp
26 14
27 QMAKE_POST_LINK=make -f Makefile.helper
28