annotate helper.pro @ 30:ce217eeeaa7d

Experiment with this flag to get library ordering working with ubuntu 16.04
author Chris Cannam
date Tue, 10 Jan 2017 17:02:57 +0000
parents 7a20698b4c29
children d4548b18eaf2
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@7 14 QMAKE_CXXFLAGS += -Werror
Chris@7 15 }
Chris@7 16
Chris@7 17 linux* {
Chris@30 18 QMAKE_LFLAGS += -Wl,--start-group -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