CMakeLists.txt 365 字节
Newer Older
J
jtao1735 已提交
1 2 3 4 5 6
CMAKE_MINIMUM_REQUIRED(VERSION 2.8)
PROJECT(TDengine)

INCLUDE_DIRECTORIES(inc)
AUX_SOURCE_DIRECTORY(${CMAKE_CURRENT_SOURCE_DIR}/src SRC)

S
TD-1057  
Shengliang Guan 已提交
7 8
IF (TD_LINUX)
  ADD_LIBRARY(tcq ${SRC})
H
Hui Li 已提交
9 10 11 12 13
  IF (TD_SOMODE_STATIC)
    TARGET_LINK_LIBRARIES(tcq tutil common taos_static)
  ELSE ()  
    TARGET_LINK_LIBRARIES(tcq tutil common taos)
  ENDIF ()
S
TD-1057  
Shengliang Guan 已提交
14 15
  ADD_SUBDIRECTORY(test)
ENDIF ()