mirror of
https://github.com/romixlab/qmsgpack.git
synced 2025-06-25 01:21:33 +02:00
usable with either qmake DEFINES+=MSGPACK_NO_PACKTYPES or DEFINES += MSGPACK_STATIC MSGPACK_NO_PACKTYPES include(path/to/qmsgpack/qmsgpack.pri)
39 lines
894 B
Prolog
39 lines
894 B
Prolog
TARGET = qmsgpack
|
|
VER_MAJ = 0
|
|
VER_MIN = 1
|
|
VER_PAT = 0
|
|
|
|
TEMPLATE = lib
|
|
DEFINES += MSGPACK_MAKE_LIB
|
|
DESTDIR = $$shadowed($$PWD/../bin)
|
|
TARGET = $$qtLibraryTarget($$TARGET)
|
|
VERSION = $$join($$list($$VER_MAJ $$VER_MIN $$VER_PAT), .)
|
|
|
|
include(../qmsgpack.pri)
|
|
|
|
HEADERS_INSTALL = \
|
|
msgpack.h \
|
|
endianhelper.h \
|
|
msgpackcommon.h \
|
|
msgpack_export.h \
|
|
msgpackstream.h \
|
|
|
|
!contains(DEFINES, MSGPACK_NO_PACKTYPES) {
|
|
STREAM_HEADERS_INSTALL = \
|
|
stream/geometry.h \
|
|
stream/time.h
|
|
|
|
qtHaveModule(location) {
|
|
STREAM_HEADERS_INSTALL += stream/location.h
|
|
}
|
|
}
|
|
|
|
unix {
|
|
header_files.files = $$HEADERS_INSTALL
|
|
header_files.path = /usr/include/qmsgpack
|
|
stream_header_files.files = $$STREAM_HEADERS_INSTALL
|
|
stream_header_files.path = /usr/include/qmsgpack/stream
|
|
target.path = /usr/lib
|
|
INSTALLS += header_files stream_header_files target
|
|
}
|