diff options
| author | manuel <manuel@mausz.at> | 2011-05-10 22:28:58 +0200 |
|---|---|---|
| committer | manuel <manuel@mausz.at> | 2011-05-10 22:28:58 +0200 |
| commit | 1a6c940ed9d7f6136da0e13148314072665342c5 (patch) | |
| tree | 467b259d966ea1ddf9f66440066f57cf3eed68c4 /pacman-c++/common.pri | |
| parent | cc1bb779661217171418adb0ddbd1ce01815463b (diff) | |
| download | foop-1a6c940ed9d7f6136da0e13148314072665342c5.tar.gz foop-1a6c940ed9d7f6136da0e13148314072665342c5.tar.bz2 foop-1a6c940ed9d7f6136da0e13148314072665342c5.zip | |
- 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
Diffstat (limited to 'pacman-c++/common.pri')
| -rw-r--r-- | pacman-c++/common.pri | 21 |
1 files changed, 12 insertions, 9 deletions
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 @@ | |||
| 1 | LANGUAGE = C++ | 1 | LANGUAGE = C++ |
| 2 | VERSION = 0.1 | 2 | VERSION = 0.1 |
| 3 | 3 | ||
| 4 | QT += phonon network | ||
| 5 | |||
| 6 | DESTDIR = ../ | 4 | DESTDIR = ../ |
| 7 | 5 | ||
| 8 | INCLUDEPATH += ../common | 6 | INCLUDEPATH += ../common |
| 9 | DEPENDPATH += ../common | 7 | DEPENDPATH += ../common |
| 10 | LIBS += -L.. -lcommon | ||
| 11 | |||
| 12 | INCLUDEPATH += $$OUT_PWD/../proto | 8 | INCLUDEPATH += $$OUT_PWD/../proto |
| 13 | LIBS += -L.. -lproto -lprotobuf | ||
| 14 | |||
| 15 | INCLUDEPATH += ../enet/include | 9 | INCLUDEPATH += ../enet/include |
| 16 | LIBS += -L$$PWD/enet/.libs -lenet | 10 | |
| 17 | # enable this if you want to link the archive | 11 | contains(TEMPLATE, app) { |
| 18 | #win32:LIBS += -lws2_32 -lwinmm | 12 | LIBS += -L.. -lcommon |
| 13 | LIBS += -L.. -lproto -lprotobuf | ||
| 14 | LIBS += -L$$PWD/enet/.libs -lenet | ||
| 15 | # enable this if you want to link the archive | ||
| 16 | #win32:LIBS += -lws2_32 -lwinmm | ||
| 17 | } | ||
| 18 | |||
| 19 | contains(CONFIG, plugin) { | ||
| 20 | LIBS += -L.. -lcommon | ||
| 21 | } | ||
| 19 | 22 | ||
| 20 | CONFIG(release, debug|release) { | 23 | CONFIG(release, debug|release) { |
| 21 | DEFINES += QT_NO_DEBUG_OUTPUT | 24 | DEFINES += QT_NO_DEBUG_OUTPUT |
