aboutsummaryrefslogtreecommitdiff
path: root/source/source.pro
diff options
context:
space:
mode:
authorJeremy Lainé <jeremy.laine@m4x.org>2010-03-08 06:45:27 +0000
committerJeremy Lainé <jeremy.laine@m4x.org>2010-03-08 06:45:27 +0000
commitcaf8bfb50c950b385edb8ec5265c51ae6c74438f (patch)
treed1c5feea942cb88cadb3dbd19ba53203bae7cdc7 /source/source.pro
parent6c7caacc78493d9d87abd1219b89442bb4415f84 (diff)
downloadqxmpp-caf8bfb50c950b385edb8ec5265c51ae6c74438f.tar.gz
revert changes to library linking, document why
Diffstat (limited to 'source/source.pro')
-rw-r--r--source/source.pro11
1 files changed, 9 insertions, 2 deletions
diff --git a/source/source.pro b/source/source.pro
index 1e639467..29a63966 100644
--- a/source/source.pro
+++ b/source/source.pro
@@ -4,9 +4,16 @@ QT += network \
CONFIG += staticlib \
debug_and_release
-TARGET = QXmppClient
+# Make sure the library gets built in the same location
+# regardless of the platform. On win32 the library is
+# automagically put in debug/release folders, so do the
+# same for other platforms.
CONFIG(debug, debug|release) {
- TARGET = $$join(TARGET,,,_d)
+ win32:TARGET = QXmppClient_d
+ !win32:TARGET = debug/QXmppClient_d
+} else {
+ win32:TARGET = QXmppClient
+ !win32:TARGET = release/QXmppClient
}
# Header files