view data/fileio/test/test.pro @ 763:2b3a8ae04597 qt5

Get remainder of svcore building with Qt5
author Chris Cannam
date Mon, 11 Mar 2013 13:55:22 +0000
parents 02390a4c2abe
children 001d77a720ce
line wrap: on
line source

TEMPLATE = app

LIBS += -L../../.. -lsvcore

include(../../../config.pri)

CONFIG += qt thread warn_on stl rtti exceptions console
QT += network xml testlib
QT -= gui

TARGET = svcore-test

DEPENDPATH += ../../..
INCLUDEPATH += ../../..
OBJECTS_DIR = o
MOC_DIR = o

HEADERS += AudioFileReaderTest.h \
           AudioTestData.h
SOURCES += main.cpp

win* {
PRE_TARGETDEPS += ../../../svcore.lib
}
!win* {
PRE_TARGETDEPS += ../../../libsvcore.a
}

!win32 {
    !macx* {
        QMAKE_POST_LINK=./$${TARGET}
    }
    macx* {
        QMAKE_POST_LINK=./$${TARGET}.app/Contents/MacOS/$${TARGET}
    }
}

win32:QMAKE_POST_LINK=.$${TARGET}.exe