view vamp-client/client.pro @ 137:1902e6db5b61

Avoid building app bundles for helper executables
author Chris Cannam <c.cannam@qmul.ac.uk>
date Thu, 17 Nov 2016 17:57:50 +0000
parents 247d8d533a9c
children
line wrap: on
line source

TEMPLATE = app

CONFIG += qt stl c++11 exceptions console warn_on
QT -= xml network gui widgets

!win32 {
    QMAKE_CXXFLAGS += -Werror
}

OBJECTS_DIR = ../o
MOC_DIR = ../o

VAMPSDK_DIR = ../../vamp-plugin-sdk
PIPER_DIR = ../../piper

QMAKE_CXXFLAGS = -I$$VAMPSDK_DIR -I..

LIBS += -lcapnp -lkj -lvamp-hostsdk

# Using the "console" CONFIG flag above should ensure this happens for
# normal Windows builds, but this may be necessary when cross-compiling
win32-x-g++:QMAKE_LFLAGS += -Wl,-subsystem,console

macx*: CONFIG -= app_bundle

TARGET = client

SOURCES += \
        client.cpp \
        ../vamp-capnp/piper-capnp.cpp
        
HEADERS += \
        ProcessQtTransport.h \
        CapnpRRClient.h \
        Loader.h \
        PluginClient.h \
        PluginStub.h \
        AutoPlugin.h \
        SynchronousTransport.h