view svcore.pro @ 1228:a2091d148d7f project-file-rework

Cut down vastly on the number of config.pri files and places where their contents has to be effectively duplicated without them
author Chris Cannam
date Mon, 24 Oct 2016 17:53:33 +0100
parents 771a17925576
children 9ae2ce9190e6
line wrap: on
line source

TEMPLATE = lib

INCLUDEPATH += ../vamp-plugin-sdk

exists(config.pri) {
    include(config.pri)
}

CONFIG += staticlib qt thread warn_on stl rtti exceptions c++11
QT += network xml
QT -= gui

TARGET = svcore

DEPENDPATH += . data plugin plugin/api/alsa ../dataquay ../checker ../piper-cpp
INCLUDEPATH += . data plugin plugin/api/alsa ../dataquay ../checker ../piper-cpp
OBJECTS_DIR = o
MOC_DIR = o

# Doesn't work with this library, which contains C99 as well as C++
PRECOMPILED_HEADER =

# Set up suitable platform defines for RtMidi
linux*:   DEFINES += __LINUX_ALSASEQ__
macx*:    DEFINES += __MACOSX_CORE__
win*:     DEFINES += __WINDOWS_MM__
solaris*: DEFINES += __RTMIDI_DUMMY_ONLY__

include(files.pri)

HEADERS = $$(SVCORE_HEADERS)
SOURCES = $$(SVCORE_SOURCES)