CMakeLists.txt 937 字节
Newer Older
1 2 3
PROJECT(TDengine)

IF (TD_LINUX)
wafwerar's avatar
wafwerar 已提交
4
  INCLUDE_DIRECTORIES(. ${TD_SOURCE_DIR}/src/inc ${TD_SOURCE_DIR}/src/client/inc  ${TD_SOURCE_DIR}/inc)
5
  AUX_SOURCE_DIRECTORY(. SRC)
6 7 8 9 10 11 12 13
  #  ADD_EXECUTABLE(demo apitest.c)
  #TARGET_LINK_LIBRARIES(demo taos_static trpc tutil pthread )
  #ADD_EXECUTABLE(sml schemaless.c)
  #TARGET_LINK_LIBRARIES(sml taos_static trpc tutil pthread )
  #ADD_EXECUTABLE(subscribe subscribe.c)
  #TARGET_LINK_LIBRARIES(subscribe taos_static trpc tutil pthread )
  #ADD_EXECUTABLE(epoll epoll.c)
  #TARGET_LINK_LIBRARIES(epoll taos_static trpc tutil pthread lua)
14 15
ENDIF ()
IF (TD_DARWIN)
wafwerar's avatar
wafwerar 已提交
16
  INCLUDE_DIRECTORIES(. ${TD_SOURCE_DIR}/src/inc ${TD_SOURCE_DIR}/src/client/inc  ${TD_SOURCE_DIR}/inc)
17
  AUX_SOURCE_DIRECTORY(. SRC)
18 19 20 21
  #ADD_EXECUTABLE(demo demo.c)
  #TARGET_LINK_LIBRARIES(demo taos_static trpc tutil pthread lua)
  #ADD_EXECUTABLE(epoll epoll.c)
  #TARGET_LINK_LIBRARIES(epoll taos_static trpc tutil pthread lua)
22
ENDIF ()