2015-09-12 16:48:21 +03:00
|
|
|
QT += core gui location
|
2015-08-28 21:12:09 +03:00
|
|
|
|
|
|
|
|
TARGET = qmsgpack
|
|
|
|
|
CONFIG -= app_bundle
|
|
|
|
|
|
|
|
|
|
TEMPLATE = lib
|
|
|
|
|
DEFINES += MSGPACK_MAKE_LIB
|
|
|
|
|
DESTDIR = $$TOP_SRCDIR/bin
|
|
|
|
|
QMAKE_CXXFLAGS += -fPIC
|
|
|
|
|
|
|
|
|
|
CONFIG += debug_and_release
|
|
|
|
|
CONFIG(debug, debug|release) {
|
|
|
|
|
TARGET = $$join(TARGET,,,d)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
SOURCES += msgpack.cpp \
|
|
|
|
|
msgpackcommon.cpp \
|
|
|
|
|
private/pack_p.cpp \
|
|
|
|
|
private/unpack_p.cpp \
|
|
|
|
|
private/qt_types_p.cpp \
|
2015-09-12 16:48:21 +03:00
|
|
|
msgpackstream.cpp \
|
|
|
|
|
stream/time.cpp \
|
|
|
|
|
stream/geometry.cpp \
|
|
|
|
|
stream/location.cpp
|
2015-08-07 22:40:18 +03:00
|
|
|
|
|
|
|
|
HEADERS += \
|
|
|
|
|
msgpack.h \
|
2015-08-28 21:12:09 +03:00
|
|
|
private/pack_p.h \
|
2015-08-07 22:40:18 +03:00
|
|
|
private/unpack_p.h \
|
2015-08-28 21:12:09 +03:00
|
|
|
endianhelper.h \
|
|
|
|
|
msgpackcommon.h \
|
|
|
|
|
msgpack_export.h \
|
2015-08-07 22:40:18 +03:00
|
|
|
private/qt_types_p.h \
|
2015-09-12 16:48:21 +03:00
|
|
|
msgpackstream.h \
|
|
|
|
|
stream/location.h \
|
|
|
|
|
stream/time.h \
|
|
|
|
|
stream/geometry.h
|
2015-08-07 22:56:51 +03:00
|
|
|
|
|
|
|
|
HEADERS_INSTALL = \
|
|
|
|
|
msgpack.h \
|
2015-08-28 21:12:09 +03:00
|
|
|
endianhelper.h \
|
|
|
|
|
msgpackcommon.h \
|
|
|
|
|
msgpack_export.h \
|
|
|
|
|
msgpackstream.h \
|
|
|
|
|
|
|
|
|
|
STREAM_HEADERS_INSTALL = \
|
2015-09-12 16:48:21 +03:00
|
|
|
stream/location.h \
|
|
|
|
|
stream/time.h
|
2015-08-07 22:56:51 +03:00
|
|
|
|
|
|
|
|
unix {
|
|
|
|
|
header_files.files = $$HEADERS_INSTALL
|
|
|
|
|
header_files.path = /usr/include/qmsgpack
|
2015-08-28 21:12:09 +03:00
|
|
|
stream_header_files.files = $$STREAM_HEADERS_INSTALL
|
|
|
|
|
stream_header_files.path = /usr/include/qmsgpack/stream
|
2015-08-07 22:56:51 +03:00
|
|
|
target.path = /usr/lib
|
2015-08-28 21:12:09 +03:00
|
|
|
INSTALLS += header_files stream_header_files target
|
2015-08-07 22:56:51 +03:00
|
|
|
}
|