comparison server.pro @ 1285:ac6db2ee1beb project-file-rework

OSX build fixes and logic
author Chris Cannam <cannam@all-day-breakfast.com>
date Tue, 25 Oct 2016 14:48:56 +0100
parents c6513cae4747
children 39f769d666a2
comparison
equal deleted inserted replaced
1284:5c39d179b9a1 1285:ac6db2ee1beb
1 1
2 TEMPLATE = app 2 TEMPLATE = app
3 3
4 CONFIG += qt stl c++11 exceptions console warn_on 4 CONFIG += stl c++11 exceptions console warn_on
5 QT -= xml network gui widgets 5
6 CONFIG -= qt
6 7
7 exists(config.pri) { 8 exists(config.pri) {
8 include(config.pri) 9 include(config.pri)
9 } 10 }
10 11
12 include(noconfig.pri) 13 include(noconfig.pri)
13 } 14 }
14 15
15 # Using the "console" CONFIG flag above should ensure this happens for 16 # Using the "console" CONFIG flag above should ensure this happens for
16 # normal Windows builds, but this may be necessary when cross-compiling 17 # normal Windows builds, but this may be necessary when cross-compiling
17 win32-x-g++:QMAKE_LFLAGS += -Wl,-subsystem,console 18 win32-x-g++: QMAKE_LFLAGS += -Wl,-subsystem,console
19
20 macx*: CONFIG -= app_bundle
18 21
19 linux*: LIBS += -ldl 22 linux*: LIBS += -ldl
20 23
21 TARGET = piper-vamp-server 24 TARGET = piper-vamp-server
22 25
25 28
26 INCLUDEPATH += piper-cpp vamp-plugin-sdk 29 INCLUDEPATH += piper-cpp vamp-plugin-sdk
27 30
28 include(vamp-plugin-sdk-files.pri) 31 include(vamp-plugin-sdk-files.pri)
29 32
30 for (file, VAMP_SOURCES) { SOURCES += $$file } 33 for (file, VAMP_SOURCES) { SOURCES += $$file }
31 for (file, VAMP_HEADERS) { HEADERS += $$file } 34 for (file, VAMP_HEADERS) { HEADERS += $$file }
32 35
33 HEADERS += \ 36 HEADERS += \
34 piper-cpp/vamp-capnp/piper.capnp.h \ 37 piper-cpp/vamp-capnp/piper.capnp.h \
35 piper-cpp/vamp-capnp/VampnProto.h 38 piper-cpp/vamp-capnp/VampnProto.h
36 39