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