CMakeLists.txt 437 字节
Newer Older
S
Shengliang Guan 已提交
1
CMAKE_MINIMUM_REQUIRED(VERSION 2.8)
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-2837  
Shengliang Guan 已提交
9 10 11 12 13
ADD_LIBRARY(tcq ${SRC})
IF (TD_SOMODE_STATIC)
  TARGET_LINK_LIBRARIES(tcq tutil common taos_static)
ELSE ()
  TARGET_LINK_LIBRARIES(tcq tutil common taos)
S
TD-1057  
Shengliang Guan 已提交
14
ENDIF ()
S
TD-2837  
Shengliang Guan 已提交
15
ADD_SUBDIRECTORY(test)