CMAKE_MINIMUM_REQUIRED(VERSION 3.5) PROJECT(TDengine) IF (TD_WINDOWS) INCLUDE_DIRECTORIES(inc) INCLUDE_DIRECTORIES(inc/sys) AUX_SOURCE_DIRECTORY(src SRC) ADD_LIBRARY(wepoll ${SRC}) ENDIF ()