Consolidate target lib name, path and version across platforms and configs

This commit is contained in:
Konstantin Ritt
2018-11-20 21:19:30 +03:00
parent b15b5efdb4
commit 172c71b027
2 changed files with 7 additions and 5 deletions
+6 -4
View File
@@ -1,15 +1,17 @@
TARGET = qmsgpack
VER_MAJ = 0
VER_MIN = 1
VER_PAT = 0
CONFIG -= app_bundle
TEMPLATE = lib
DEFINES += MSGPACK_MAKE_LIB
DESTDIR = $$PWD/../bin
DESTDIR = $$shadowed($$PWD/../bin)
QMAKE_CXXFLAGS += -fPIC
CONFIG += debug_and_release
CONFIG(debug, debug|release) {
TARGET = $$join(TARGET,,,d)
}
TARGET = $$qtLibraryTarget($$TARGET)
VERSION = $$join($$list($$VER_MAJ $$VER_MIN $$VER_PAT), .)
include(../qmsgpack.pri)