Make it possible to disable Qt type pack handlers at build time

usable with either
  qmake DEFINES+=MSGPACK_NO_PACKTYPES
or
  DEFINES += MSGPACK_STATIC MSGPACK_NO_PACKTYPES
  include(path/to/qmsgpack/qmsgpack.pri)
This commit is contained in:
Konstantin Ritt committed 2018-12-02 14:25:14 +03:00
1 parent 34afb5aba3
commit 0b8282d592
4 files changed
+43 -24

No files matched your search

+7 -3
View File
@@ -3,6 +3,10 @@ TEMPLATE = subdirs
SUBDIRS += \
pack \
unpack \
mixed \
stream \
qttypes
mixed
!contains(DEFINES, MSGPACK_NO_PACKTYPES) {
SUBDIRS += \
stream \
qttypes
}