CMakeLists.txt 433 字节
Newer Older
1
CMAKE_MINIMUM_REQUIRED(VERSION 3.5)
S
Shengliang Guan 已提交
2 3
PROJECT(TDengine)

S
TD-1057  
Shengliang Guan 已提交
4 5
INCLUDE_DIRECTORIES(${TD_COMMUNITY_DIR}/src/mnode/inc)
INCLUDE_DIRECTORIES(${TD_COMMUNITY_DIR}/src/dnode/inc)
E
eurake 已提交
6
INCLUDE_DIRECTORIES(${TD_COMMUNITY_DIR}/src/tsdb/inc)
S
TD-1057  
Shengliang Guan 已提交
7 8 9 10 11
INCLUDE_DIRECTORIES(${TD_ENTERPRISE_DIR}/src/inc)
INCLUDE_DIRECTORIES(inc)
AUX_SOURCE_DIRECTORY(src SRC)

IF (TD_LINUX)
S
Shengliang Guan 已提交
12
  ADD_LIBRARY(balance ${SRC})
E
eurake 已提交
13
ENDIF ()
14 15 16 17

IF (TD_DARWIN)
  ADD_LIBRARY(balance ${SRC})
ENDIF ()