CMakeLists.txt 391 字节
Newer Older
1
CMAKE_MINIMUM_REQUIRED(VERSION 3.5)
陶建辉(Jeff)'s avatar
陶建辉(Jeff) 已提交
2 3 4
PROJECT(TDengine)

INCLUDE_DIRECTORIES(inc)
H
more  
hzcheng 已提交
5 6
AUX_SOURCE_DIRECTORY(${CMAKE_CURRENT_SOURCE_DIR}/src SRC)

S
TD-1207  
Shengliang Guan 已提交
7
IF (TD_LINUX OR TD_WINDOWS)
S
TD-1057  
Shengliang Guan 已提交
8 9 10
  ADD_LIBRARY(twal ${SRC})
  TARGET_LINK_LIBRARIES(twal tutil common)
  ADD_SUBDIRECTORY(test)
11 12 13 14 15 16 17
ENDIF ()

IF (TD_DARWIN)
  ADD_LIBRARY(twal ${SRC})
  TARGET_LINK_LIBRARIES(twal tutil common)
  ADD_SUBDIRECTORY(test)
ENDIF ()