Files
qmsgpack/qmsgpack.pri
Konstantin Ritt ca968dbb4e Make the QtGui module an optional dependency
detect and link with it, if found
2018-11-20 21:13:55 +03:00

39 lines
867 B
Plaintext

QT += core
DEFINES += MSGPACK_MAKE_LIB
INCLUDEPATH += $$PWD/src
SOURCES += \
$$PWD/src/msgpack.cpp \
$$PWD/src/msgpackcommon.cpp \
$$PWD/src/private/pack_p.cpp \
$$PWD/src/private/unpack_p.cpp \
$$PWD/src/private/qt_types_p.cpp \
$$PWD/src/msgpackstream.cpp \
$$PWD/src/stream/time.cpp \
$$PWD/src/stream/geometry.cpp
HEADERS += \
$$PWD/src/msgpack.h \
$$PWD/src/private/pack_p.h \
$$PWD/src/private/unpack_p.h \
$$PWD/src/endianhelper.h \
$$PWD/src/msgpackcommon.h \
$$PWD/src/msgpack_export.h \
$$PWD/src/private/qt_types_p.h \
$$PWD/src/msgpackstream.h \
$$PWD/src/stream/time.h \
$$PWD/src/stream/geometry.h
qtHaveModule(gui) {
QT += gui
}
qtHaveModule(location) {
QT += location
SOURCES += $$PWD/src/stream/location.cpp
HEADERS += $$PWD/src/stream/location.h
}