annotate noconfig.pri @ 16:3bff037dcae3

Add a couple more plugin builds
author Chris Cannam
date Thu, 05 Dec 2019 14:18:57 +0000
parents 1d86ed252be7
children de97eaf74910
rev   line source
Chris@0 1
Chris@0 2 CONFIG += c++11
Chris@0 3
Chris@0 4 CONFIG += release
Chris@0 5
Chris@0 6 PREFIX_PATH = /usr/local
Chris@0 7
Chris@0 8 INCLUDEPATH += $$PWD/vamp-plugin-sdk
Chris@0 9
Chris@0 10 win32-msvc* {
Chris@0 11
Chris@0 12 # This config is actually used only for 64-bit Windows builds.
Chris@0 13
Chris@0 14 INCLUDEPATH += /Libraries/boost_1_69_0 $$PWD/../boost_1_69_0/
Chris@0 15
Chris@0 16 CONFIG(release) {
Chris@0 17 LIBS += -NODEFAULTLIB:LIBCMT -Lrelease
Chris@0 18 }
Chris@0 19
Chris@15 20 DEFINES += NOMINMAX _USE_MATH_DEFINES HAVE_C99_VARARGS_MACROS
Chris@0 21 }
Chris@0 22
Chris@0 23 macx* {
Chris@0 24
Chris@0 25 # All Mac builds are 64-bit these days.
Chris@0 26
Chris@0 27 INCLUDEPATH +=
Chris@0 28 LIBS += -L$$PWD
Chris@0 29
Chris@0 30 INCLUDEPATH += /usr/local/opt/boost/include
Chris@0 31
Chris@6 32 QMAKE_CXXFLAGS_RELEASE += -O3 -flto
Chris@0 33 QMAKE_LFLAGS_RELEASE += -O3 -flto
Chris@0 34 }
Chris@0 35
Chris@0 36 linux* {
Chris@10 37 QMAKE_CXXFLAGS_RELEASE += -O3 -flto
Chris@16 38 QMAKE_LFLAGS_RELEASE += -O3 -flto -Wl,--no-undefined
Chris@0 39 }
Chris@0 40