Mercurial > hg > vamp-plugin-pack
annotate noconfig.pri @ 25:663baf743c63
MSVC fixes
author | Chris Cannam |
---|---|
date | Mon, 09 Dec 2019 13:56:36 +0000 |
parents | de97eaf74910 |
children | 28b1dd4ee370 |
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@25 | 14 INCLUDEPATH += /Libraries/boost_1_69_0 $$PWD/../boost_1_69_0/ $$PWD/sv-dependency-builds/win64-msvc/include |
Chris@25 | 15 LIBS += -L$$PWD -L$$PWD/sv-dependency-builds/win64-msvc/lib |
Chris@0 | 16 |
Chris@0 | 17 CONFIG(release) { |
Chris@0 | 18 LIBS += -NODEFAULTLIB:LIBCMT -Lrelease |
Chris@0 | 19 } |
Chris@0 | 20 |
Chris@15 | 21 DEFINES += NOMINMAX _USE_MATH_DEFINES HAVE_C99_VARARGS_MACROS |
Chris@0 | 22 } |
Chris@0 | 23 |
Chris@0 | 24 macx* { |
Chris@0 | 25 |
Chris@0 | 26 # All Mac builds are 64-bit these days. |
Chris@0 | 27 |
Chris@21 | 28 INCLUDEPATH += /usr/local/opt/boost/include $$PWD/sv-dependency-builds/osx/include |
Chris@21 | 29 LIBS += -L$$PWD -L$$PWD/sv-dependency-builds/osx/lib |
Chris@0 | 30 |
Chris@6 | 31 QMAKE_CXXFLAGS_RELEASE += -O3 -flto |
Chris@0 | 32 QMAKE_LFLAGS_RELEASE += -O3 -flto |
Chris@0 | 33 } |
Chris@0 | 34 |
Chris@0 | 35 linux* { |
Chris@10 | 36 QMAKE_CXXFLAGS_RELEASE += -O3 -flto |
Chris@16 | 37 QMAKE_LFLAGS_RELEASE += -O3 -flto -Wl,--no-undefined |
Chris@0 | 38 } |
Chris@0 | 39 |