CMAKE_MINIMUM_REQUIRED(VERSION 2.8...3.20)
PROJECT(TDengine)

IF (TD_LINUX)
  ADD_SUBDIRECTORY(src/linux)
ELSEIF (TD_DARWIN)
  ADD_SUBDIRECTORY(src/darwin)  
ELSEIF (TD_WINDOWS)
  ADD_SUBDIRECTORY(src/windows)
ENDIF ()

ADD_SUBDIRECTORY(src/detail)
ADD_SUBDIRECTORY(tests)

