CMakeLists.txt 355 字节
Newer Older
S
Shengliang Guan 已提交
1
CMAKE_MINIMUM_REQUIRED(VERSION 2.8)
S
slguan 已提交
2
PROJECT(TDengine)
H
more  
hzcheng 已提交
3

S
TD-1057  
Shengliang Guan 已提交
4 5
INCLUDE_DIRECTORIES(inc)
AUX_SOURCE_DIRECTORY(src SRC)
S
TD-1310  
Shengliang Guan 已提交
6
ADD_LIBRARY(tsdb ${SRC})
H
Hongze Cheng 已提交
7
TARGET_LINK_LIBRARIES(tsdb tfs common tutil)
H
hzcheng 已提交
8

9 10 11 12
IF (TD_TSDB_PLUGINS)
  TARGET_LINK_LIBRARIES(tsdb tsdbPlugins)
ENDIF ()

S
TD-1057  
Shengliang Guan 已提交
13
IF (TD_LINUX)
S
slguan 已提交
14
  # Someone has no gtest directory, so comment it
15
  # ADD_SUBDIRECTORY(tests)
S
slguan 已提交
16
ENDIF ()