CMakeLists.txt 418 字节
Newer Older
1 2 3
CMAKE_MINIMUM_REQUIRED(VERSION 2.8)
PROJECT(TDengine)

S
slguan 已提交
4
INCLUDE_DIRECTORIES(${TD_COMMUNITY_DIR}/src/tsdb/inc)
S
slguan 已提交
5
INCLUDE_DIRECTORIES(${TD_COMMUNITY_DIR}/src/client/inc)
6 7
INCLUDE_DIRECTORIES(inc)

S
TD-1057  
Shengliang Guan 已提交
8
IF (TD_LINUX)
9 10
  AUX_SOURCE_DIRECTORY(src SRC)
  ADD_LIBRARY(query ${SRC})
H
hjxilinx 已提交
11
  TARGET_LINK_LIBRARIES(query tsdb tutil m rt)
S
TD-1057  
Shengliang Guan 已提交
12 13
  ADD_SUBDIRECTORY(tests)
  SET_SOURCE_FILES_PROPERTIES(src/sql.c PROPERTIES COMPILE_FLAGS -w)
H
hjxilinx 已提交
14 15
ENDIF ()

16