CMakeLists.txt 604 字节
Newer Older
S
slguan 已提交
1 2
PROJECT(TDengine)

S
TD-1057  
Shengliang Guan 已提交
3 4 5 6 7
IF (TD_LINUX)
  INCLUDE_DIRECTORIES(. ${TD_COMMUNITY_DIR}/src/inc ${TD_COMMUNITY_DIR}/src/client/inc  ${TD_COMMUNITY_DIR}/inc)
  AUX_SOURCE_DIRECTORY(. SRC)
  ADD_EXECUTABLE(demo demo.c)
  TARGET_LINK_LIBRARIES(demo taos_static trpc tutil pthread )
F
freemine 已提交
8 9
  ADD_EXECUTABLE(epoll epoll.c)
  TARGET_LINK_LIBRARIES(epoll taos_static trpc tutil pthread )
S
slguan 已提交
10
ENDIF ()
F
eok  
freemine 已提交
11 12 13 14 15
IF (TD_DARWIN)
  INCLUDE_DIRECTORIES(. ${TD_COMMUNITY_DIR}/src/inc ${TD_COMMUNITY_DIR}/src/client/inc  ${TD_COMMUNITY_DIR}/inc)
  ADD_EXECUTABLE(epoll epoll.c)
  TARGET_LINK_LIBRARIES(epoll taos_static trpc tutil pthread )
ENDIF ()