mirror of
https://github.com/romixlab/qmsgpack.git
synced 2025-06-25 01:21:33 +02:00
Consolidate target lib name, path and version across platforms and configs
This commit is contained in:
10
src/src.pro
10
src/src.pro
@ -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)
|
||||
|
||||
|
@ -1,2 +1,2 @@
|
||||
INCLUDEPATH += ../../src
|
||||
LIBS += -L"$$PWD/../bin" -lqmsgpackd
|
||||
LIBS += -L$$shadowed($$PWD/../bin) -l$$qtLibraryTarget(qmsgpack)
|
||||
|
Reference in New Issue
Block a user