CMakeLists.txt 476 字节
Newer Older
1
CMAKE_MINIMUM_REQUIRED(VERSION 3.5)
J
jtao1735 已提交
2 3 4
PROJECT(TDengine)

INCLUDE_DIRECTORIES(inc)
5 6
INCLUDE_DIRECTORIES(${TD_COMMUNITY_DIR}/src/client/inc)
INCLUDE_DIRECTORIES(${TD_COMMUNITY_DIR}/src/query/inc)
J
jtao1735 已提交
7 8
AUX_SOURCE_DIRECTORY(${CMAKE_CURRENT_SOURCE_DIR}/src SRC)

S
TD-1057  
Shengliang Guan 已提交
9 10
IF (TD_LINUX)
  ADD_LIBRARY(tcq ${SRC})
H
Hui Li 已提交
11 12 13 14 15
  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 已提交
16 17
  ADD_SUBDIRECTORY(test)
ENDIF ()