Consolidate target lib name, path and version across platforms and configs
This commit is contained in:
1 parent
b15b5efdb4
commit
172c71b027
2 files changed
+7
-5
No files matched your search
+6
-4
@@ -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)
|
||||
|
||||
|
||||
Reference in new issue
Block a user