From 1a6c940ed9d7f6136da0e13148314072665342c5 Mon Sep 17 00:00:00 2001 From: manuel Date: Tue, 10 May 2011 22:28:58 +0200 Subject: - refactorized audio once more: audio is now a plugin which gets loaded at runtime - thus server has no dependency to phonon any more - remove client dependency to qtnetwork - fix enet deinitialization on windows --- pacman-c++/common.pri | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) (limited to 'pacman-c++/common.pri') diff --git a/pacman-c++/common.pri b/pacman-c++/common.pri index 51db8ac..38e5c72 100644 --- a/pacman-c++/common.pri +++ b/pacman-c++/common.pri @@ -1,21 +1,24 @@ LANGUAGE = C++ VERSION = 0.1 -QT += phonon network - DESTDIR = ../ INCLUDEPATH += ../common DEPENDPATH += ../common -LIBS += -L.. -lcommon - INCLUDEPATH += $$OUT_PWD/../proto -LIBS += -L.. -lproto -lprotobuf - INCLUDEPATH += ../enet/include -LIBS += -L$$PWD/enet/.libs -lenet -# enable this if you want to link the archive -#win32:LIBS += -lws2_32 -lwinmm + +contains(TEMPLATE, app) { + LIBS += -L.. -lcommon + LIBS += -L.. -lproto -lprotobuf + LIBS += -L$$PWD/enet/.libs -lenet + # enable this if you want to link the archive + #win32:LIBS += -lws2_32 -lwinmm +} + +contains(CONFIG, plugin) { + LIBS += -L.. -lcommon +} CONFIG(release, debug|release) { DEFINES += QT_NO_DEBUG_OUTPUT -- cgit v1.2.3