aboutsummaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
Diffstat (limited to 'source')
-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