diff 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
line wrap: on
line diff
--- a/server.pro	Tue Oct 25 13:07:36 2016 +0100
+++ b/server.pro	Tue Oct 25 14:48:56 2016 +0100
@@ -1,8 +1,9 @@
 
 TEMPLATE = app
 
-CONFIG += qt stl c++11 exceptions console warn_on
-QT -= xml network gui widgets
+CONFIG += stl c++11 exceptions console warn_on
+
+CONFIG -= qt
 
 exists(config.pri) {
     include(config.pri)
@@ -14,7 +15,9 @@
 
 # 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
+win32-x-g++: QMAKE_LFLAGS += -Wl,-subsystem,console
+
+macx*: CONFIG -= app_bundle
 
 linux*: LIBS += -ldl
 
@@ -27,8 +30,8 @@
 
 include(vamp-plugin-sdk-files.pri)
 
-for (file, VAMP_SOURCES)     { SOURCES += $$file }
-for (file, VAMP_HEADERS)     { HEADERS += $$file }
+for (file, VAMP_SOURCES) { SOURCES += $$file }
+for (file, VAMP_HEADERS) { HEADERS += $$file }
 
 HEADERS += \
         piper-cpp/vamp-capnp/piper.capnp.h \