view 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
line wrap: on
line source

CONFIG += c++11

CONFIG += release

PREFIX_PATH = /usr/local

INCLUDEPATH += $$PWD/vamp-plugin-sdk

win32-msvc* {

    # This config is actually used only for 64-bit Windows builds.
    
    INCLUDEPATH += /Libraries/boost_1_69_0 $$PWD/../boost_1_69_0/

    CONFIG(release) {
        LIBS += -NODEFAULTLIB:LIBCMT -Lrelease
    }

    DEFINES += NOMINMAX _USE_MATH_DEFINES
}

macx* {

    # All Mac builds are 64-bit these days.

    INCLUDEPATH += 
    LIBS += -L$$PWD

    INCLUDEPATH += /usr/local/opt/boost/include

    QMAKE_CXXFLAGS_RELEASE += -O3 -flto
    QMAKE_LFLAGS_RELEASE += -O3 -flto
}

linux* {
    QMAKE_CXXFLAGS_RELEASE += -O3
    QMAKE_LFLAGS_RELEASE += -O3
}