aboutsummaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorJeremy Lainé <jeremy.laine@m4x.org>2010-08-10 16:43:28 +0000
committerJeremy Lainé <jeremy.laine@m4x.org>2010-08-10 16:43:28 +0000
commit323ce65bcf5fe2c82d16cf7efd7fa3bb1fe49359 (patch)
tree9ced2baf4fdf53e69142be67e2ab35a9e0ca7522 /source
parentfe474b8266f3a6bcd47b4d7c77a0502805fa45ed (diff)
downloadqxmpp-323ce65bcf5fe2c82d16cf7efd7fa3bb1fe49359.tar.gz
move common definitions to qxmpp.pri
Diffstat (limited to 'source')
-rw-r--r--source/server/server.pro2
-rw-r--r--source/source.pro8
2 files changed, 5 insertions, 5 deletions
diff --git a/source/server/server.pro b/source/server/server.pro
index 324f07cf..55a06ac5 100644
--- a/source/server/server.pro
+++ b/source/server/server.pro
@@ -104,4 +104,4 @@ SOURCES += ../QXmppUtils.cpp \
../QXmppVersionIq.cpp \
../xmlrpc.cpp
- \ No newline at end of file
+
diff --git a/source/source.pro b/source/source.pro
index a3bdcada..ecef1683 100644
--- a/source/source.pro
+++ b/source/source.pro
@@ -1,8 +1,9 @@
+include(../qxmpp.pri)
+
TEMPLATE = lib
QT += network \
xml
-CONFIG += staticlib \
- debug_and_release
+CONFIG += staticlib
# To disable the dependency on QtGui, uncomment the following:
# DEFINES += QXMPP_NO_GUI
@@ -14,12 +15,11 @@ CONFIG += staticlib \
# regardless of the platform. On win32 the library is
# automagically put in debug/release folders, so do the
# same for other platforms.
+TARGET = $$QXMPP_LIB
CONFIG(debug, debug|release) {
DESTDIR = debug
- TARGET = qxmpp_d
} else {
DESTDIR = release
- TARGET = qxmpp
}
# Header files