CMAKE_MINIMUM_REQUIRED(VERSION 3.5) PROJECT(TDengine) AUX_SOURCE_DIRECTORY(./src SRC) INCLUDE_DIRECTORIES(${PRJ_HEADER_PATH} ./inc) ADD_LIBRARY(sdb ${SRC})