annotate helper.pro @ 59:56d50a5d9098

Add -Werror only in debug builds
author Chris Cannam
date Thu, 12 Dec 2019 16:53:35 +0000
parents c8c17e51aab0
children
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
cannam@13 11 macx*: CONFIG -= app_bundle
cannam@13 12
Chris@7 13 !win32* {
Chris@59 14 QMAKE_CXXFLAGS_DEBUG += -Werror
Chris@7 15 }
Chris@7 16
Chris@7 17 linux* {
Chris@31 18 LIBS += -ldl
Chris@7 19 }
Chris@7 20
Chris@28 21 TARGET = vamp-plugin-load-checker
Chris@7 22
Chris@7 23 OBJECTS_DIR = o
Chris@7 24 MOC_DIR = o
Chris@7 25
Chris@7 26 SOURCES += \
Chris@8 27 src/helper.cpp
Chris@7 28
Chris@58 29 exists(../platform-helpers.pri) {
Chris@58 30 include(../platform-helpers.pri)
Chris@58 31 }
Chris@58 32