Mercurial > hg > vamp-plugin-pack
annotate noconfig.pri @ 113:732a4bf233df
Fixes for static Windows build. In particular, plugins (which are not static) need to be built with "dll" target instead of "plugin" target
author | Chris Cannam |
---|---|
date | Fri, 06 Mar 2020 12:11:00 +0000 |
parents | 78de58bfc3df |
children | 1f7260245c6d |
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@51 | 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@37 | 13 |
Chris@37 | 14 DEPLOYDIR = $$PWD/deploy/win64 |
Chris@37 | 15 |
Chris@25 | 16 INCLUDEPATH += /Libraries/boost_1_69_0 $$PWD/../boost_1_69_0/ $$PWD/sv-dependency-builds/win64-msvc/include |
Chris@25 | 17 LIBS += -L$$PWD -L$$PWD/sv-dependency-builds/win64-msvc/lib |
Chris@0 | 18 |
Chris@0 | 19 CONFIG(release) { |
Chris@105 | 20 LIBS += -NODEFAULTLIB:MSVCRT -Lrelease |
Chris@0 | 21 } |
Chris@0 | 22 |
Chris@51 | 23 DEFINES += NOMINMAX _USE_MATH_DEFINES HAVE_C99_VARARGS_MACROS _HAS_STD_BYTE=0 |
Chris@51 | 24 |
Chris@113 | 25 DEFINES += AVOID_WINRT_DEPENDENCY |
Chris@0 | 26 } |
Chris@0 | 27 |
Chris@0 | 28 macx* { |
Chris@0 | 29 |
Chris@0 | 30 # All Mac builds are 64-bit these days. |
Chris@0 | 31 |
Chris@37 | 32 DEPLOYDIR = $$PWD/deploy/osx |
Chris@37 | 33 |
Chris@21 | 34 INCLUDEPATH += /usr/local/opt/boost/include $$PWD/sv-dependency-builds/osx/include |
Chris@21 | 35 LIBS += -L$$PWD -L$$PWD/sv-dependency-builds/osx/lib |
Chris@0 | 36 |
Chris@6 | 37 QMAKE_CXXFLAGS_RELEASE += -O3 -flto |
Chris@0 | 38 QMAKE_LFLAGS_RELEASE += -O3 -flto |
Chris@0 | 39 } |
Chris@0 | 40 |
Chris@0 | 41 linux* { |
Chris@37 | 42 |
Chris@37 | 43 DEPLOYDIR = $$PWD/deploy/linux |
Chris@37 | 44 |
Chris@109 | 45 INCLUDEPATH += $$PWD/sv-dependency-builds/src/serd-0.18.2 $$PWD/sv-dependency-builds/src/sord-0.12.0 |
Chris@109 | 46 |
Chris@10 | 47 QMAKE_CXXFLAGS_RELEASE += -O3 -flto |
Chris@16 | 48 QMAKE_LFLAGS_RELEASE += -O3 -flto -Wl,--no-undefined |
Chris@0 | 49 } |
Chris@0 | 50 |