Add make option ZT_ENABLE_CLUSTER and disable it in default Linux build.

This commit is contained in:
Adam Ierymenko 2015-11-16 16:22:41 -08:00
commit 906e49ff72
3 changed files with 16 additions and 1 deletions

View file

@ -13,6 +13,11 @@ ifeq ($(ZT_OFFICIAL_RELEASE),1)
DEFS+=-DZT_OFFICIAL_RELEASE
endif
# Build with ZT_ENABLE_CLUSTER=1 to build with cluster support
ifeq ($(ZT_ENABLE_CLUSTER),1)
DEFS+=-DZT_ENABLE_CLUSTER
endif
# "make debug" is a shortcut for this
ifeq ($(ZT_DEBUG),1)
DEFS+=-DZT_TRACE