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