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

S
TD-1057  
Shengliang Guan 已提交
4 5
INCLUDE_DIRECTORIES(inc)
AUX_SOURCE_DIRECTORY(src SRC)
H
hzcheng 已提交
6

S
TD-1057  
Shengliang Guan 已提交
7
IF (TD_LINUX)
S
slguan 已提交
8 9 10
  ADD_LIBRARY(tsdb ${SRC})
  TARGET_LINK_LIBRARIES(tsdb common tutil)
  # Someone has no gtest directory, so comment it
11
  # ADD_SUBDIRECTORY(tests)
S
TD-1057  
Shengliang Guan 已提交
12 13 14
ELSEIF (TD_WINDOWS)
  ADD_LIBRARY(tsdb ${SRC})
  TARGET_LINK_LIBRARIES(tsdb common tutil)
S
slguan 已提交
15
ENDIF ()