Mercurial > hg > vamp-plugin-pack
annotate vamp-tempogram.pro @ 57:8ebfaafcdaf9
Request both c++14 and c++17, in the hope that we will get c++17 where available (we only actually need it with MSVC at the moment) and fall back to c++14 in older environments where the c++17 flag is unrecognised
author | Chris Cannam |
---|---|
date | Fri, 07 Feb 2020 10:33:09 +0000 |
parents | f24d8a6f1e49 |
children | 732a4bf233df |
rev | line source |
---|---|
Chris@28 | 1 |
Chris@28 | 2 TEMPLATE = lib |
Chris@28 | 3 |
Chris@28 | 4 exists(config.pri) { |
Chris@28 | 5 include(config.pri) |
Chris@28 | 6 } |
Chris@28 | 7 |
Chris@28 | 8 !exists(config.pri) { |
Chris@28 | 9 include(noconfig.pri) |
Chris@28 | 10 } |
Chris@28 | 11 |
Chris@28 | 12 CONFIG -= qt |
Chris@28 | 13 CONFIG += plugin no_plugin_name_prefix release warn_on |
Chris@28 | 14 |
Chris@28 | 15 TARGET = out/tempogram |
Chris@28 | 16 |
Chris@28 | 17 OBJECTS_DIR = vamp-tempogram/o |
Chris@28 | 18 |
Chris@28 | 19 INCLUDEPATH += $$PWD/vamp-plugin-sdk |
Chris@28 | 20 |
Chris@28 | 21 QMAKE_CXXFLAGS -= -Werror |
Chris@28 | 22 |
Chris@28 | 23 win32-msvc* { |
Chris@28 | 24 LIBS += -EXPORT:vampGetPluginDescriptor |
Chris@28 | 25 } |
Chris@28 | 26 win32-g++* { |
Chris@28 | 27 LIBS += -Wl,--version-script=$$PWD/vamp-tempogram/vamp-plugin.map |
Chris@28 | 28 } |
Chris@28 | 29 linux* { |
Chris@28 | 30 LIBS += -Wl,--version-script=$$PWD/vamp-tempogram/vamp-plugin.map |
Chris@28 | 31 } |
Chris@28 | 32 macx* { |
Chris@28 | 33 LIBS += -exported_symbols_list $$PWD/vamp-tempogram/vamp-plugin.list |
Chris@28 | 34 } |
Chris@30 | 35 |
Chris@39 | 36 QMAKE_POST_LINK += $$DEPLOYDIR/mark-for-signing out |
Chris@30 | 37 |
Chris@28 | 38 !win* { |
Chris@30 | 39 QMAKE_POST_LINK += && \ |
Chris@28 | 40 cp vamp-tempogram/tempogram.cat vamp-tempogram/tempogram.n3 out/ && \ |
Chris@28 | 41 cp vamp-tempogram/README out/tempogram_README.txt && \ |
Chris@28 | 42 cp vamp-tempogram/CITATION out/tempogram_CITATION.txt && \ |
Chris@28 | 43 cp vamp-tempogram/COPYING out/tempogram_COPYING.txt |
Chris@28 | 44 } |
Chris@28 | 45 |
Chris@28 | 46 SOURCES += \ |
Chris@28 | 47 vamp-tempogram/TempogramPlugin.cpp \ |
Chris@28 | 48 vamp-tempogram/FIRFilter.cpp \ |
Chris@28 | 49 vamp-tempogram/WindowFunction.cpp \ |
Chris@28 | 50 vamp-tempogram/NoveltyCurveProcessor.cpp \ |
Chris@28 | 51 vamp-tempogram/SpectrogramProcessor.cpp \ |
Chris@28 | 52 vamp-tempogram/AutocorrelationProcessor.cpp \ |
Chris@28 | 53 vamp-tempogram/plugins.cpp \ |
Chris@28 | 54 vamp-plugin-sdk/src/vamp-sdk/FFT.cpp \ |
Chris@28 | 55 vamp-plugin-sdk/src/vamp-sdk/PluginAdapter.cpp \ |
Chris@28 | 56 vamp-plugin-sdk/src/vamp-sdk/RealTime.cpp |
Chris@28 | 57 |
Chris@28 | 58 |