Mercurial > hg > vamp-plugin-pack
annotate noconfig.pri @ 80:12bf881f9f9f
Windows packaging bits
author | Chris Cannam |
---|---|
date | Wed, 19 Feb 2020 11:55:46 +0000 |
parents | cf2840ba1e07 |
children | 9bdb0b058d0d |
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@0 | 20 LIBS += -NODEFAULTLIB:LIBCMT -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@51 | 25 LIBS += -lWindowsApp |
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@10 | 45 QMAKE_CXXFLAGS_RELEASE += -O3 -flto |
Chris@16 | 46 QMAKE_LFLAGS_RELEASE += -O3 -flto -Wl,--no-undefined |
Chris@0 | 47 } |
Chris@0 | 48 |