annotate helper.pro @ 7:846464771d06

Use qmake for everything, + build static lib too
author Chris Cannam
date Thu, 14 Apr 2016 09:42:26 +0100
parents
children 25e00373f597
rev   line source
Chris@7 1
Chris@7 2 TEMPLATE = app
Chris@7 3
Chris@7 4 CONFIG += stl c++11 exceptions console warn_on
Chris@7 5 CONFIG -= qt
Chris@7 6
Chris@7 7 # Using the "console" CONFIG flag above should ensure this happens for
Chris@7 8 # normal Windows builds, but this may be necessary when cross-compiling
Chris@7 9 win32-x-g++:QMAKE_LFLAGS += -Wl,-subsystem,console
Chris@7 10
Chris@7 11 !win32* {
Chris@7 12 QMAKE_CXXFLAGS += -Werror
Chris@7 13 }
Chris@7 14
Chris@7 15 linux* {
Chris@7 16 QMAKE_LFLAGS += -ldl
Chris@7 17 }
Chris@7 18
Chris@7 19 TARGET = helper
Chris@7 20
Chris@7 21 OBJECTS_DIR = o
Chris@7 22 MOC_DIR = o
Chris@7 23
Chris@7 24 SOURCES += \
Chris@7 25 helper.cpp
Chris@7 26