define.inc 461 字节
Newer Older
S
[TD-58]  
slguan 已提交
1 2 3 4
CMAKE_MINIMUM_REQUIRED(VERSION 2.8)
PROJECT(TDengine)

IF (TD_CLUSTER)
S
slguan 已提交
5
  ADD_DEFINITIONS(-D_CLUSTER)
S
[TD-58]  
slguan 已提交
6 7 8 9 10 11 12 13 14 15
  ADD_DEFINITIONS(-DTSDB_REPLICA_MAX_NUM=3)
ELSE ()
  ADD_DEFINITIONS(-DLITE)
  ADD_DEFINITIONS(-DTSDB_REPLICA_MAX_NUM=1)
ENDIF ()

IF (TD_ACCOUNT)
  ADD_DEFINITIONS(-D_ACCOUNT)
ENDIF ()

S
[TD-63]  
slguan 已提交
16 17 18 19
IF (TD_GRANT)
  ADD_DEFINITIONS(-D_GRANT)
ENDIF ()

S
[TD-58]  
slguan 已提交
20 21 22 23 24 25 26
IF (TD_GODLL)
  ADD_DEFINITIONS(-D_TD_GO_DLL_)
ENDIF ()

IF (TD_MEM_CHECK)
  ADD_DEFINITIONS(-DTAOS_MEM_CHECK)
ENDIF ()