annotate noconfig.pri @ 6:4b4c449932b3

At least one plugin (Segmentino) is producing incorrect results when compiled with fast-math on at least one platform (Linux). If we really want fast-math for any given plugin library, let's make it opt-in for that library rather than opt-out for all of them.
author Chris Cannam
date Mon, 18 Nov 2019 09:57:45 +0000
parents eaa4410df4cd
children 0d62a4f8946f
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@0 20 DEFINES += NOMINMAX _USE_MATH_DEFINES
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@6 37 QMAKE_CXXFLAGS_RELEASE += -O3
Chris@0 38 QMAKE_LFLAGS_RELEASE += -O3
Chris@0 39 }
Chris@0 40