CMAKE_MINIMUM_REQUIRED(VERSION2.8)PROJECT(TDengine)IF(${ACCOUNT}MATCHES"true")SET(TD_ACCOUNTTRUE)MESSAGE(STATUS"Build with account plugins")ELSEIF(${ACCOUNT}MATCHES"false")SET(TD_ACCOUNTFALSE)MESSAGE(STATUS"Build without account plugins")ENDIF()IF(${COVER}MATCHES"true")SET(TD_COVERTRUE)MESSAGE(STATUS"Build with test coverage")ELSEIF(${COVER}MATCHES"false")SET(TD_COVERFALSE)MESSAGE(STATUS"Build without test coverage")ENDIF()IF(${PAGMODE}MATCHES"lite")SET(TD_PAGMODE_LITETRUE)MESSAGE(STATUS"Build with pagmode lite")ENDIF()IF(${DLLTYPE}MATCHES"go")SET(TD_GODLLTRUE)MESSAGE(STATUS"input dll type: "${DLLTYPE})ENDIF()IF(${MEM_CHECK}MATCHES"true")SET(TD_MEM_CHECKTRUE)MESSAGE(STATUS"build with memory check")ENDIF()