1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
|
include(../../../../variables.pri)
TEMPLATE = lib
LANGUAGE = C++
TARGET = sndfileplugin
INCLUDEPATH += ../../src
CONFIG += plugin
QT += core
macx:QT_CONFIG -= no-pkg-config
CONFIG += link_pkgconfig
PKGCONFIG += sndfile
macx {
# This must be after "TARGET = " and before target installation so that
# install_name_tool can be run before target installation
include(../../../../platforms/macos/nametool.pri)
nametool.commands += $$pkgConfigNametool(sndfile, libsndfile.1.dylib)
}
target.path = $$INSTALLROOT/$$AUDIOPLUGINDIR
INSTALLS += target
HEADERS += ../../src/audiodecoder.h ../../src/audioparameters.h
SOURCES += ../../src/audiodecoder.cpp ../../src/audioparameters.cpp
HEADERS += audiodecoder_sndfile.h
SOURCES += audiodecoder_sndfile.cpp
|