CMakeLists.txt 426 字节
Newer Older
S
Shengliang Guan 已提交
1
CMAKE_MINIMUM_REQUIRED(VERSION 2.8)
陶建辉(Jeff)'s avatar
陶建辉(Jeff) 已提交
2 3
PROJECT(TDengine)

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

S
TD-2837  
Shengliang Guan 已提交
7 8 9
LIST(REMOVE_ITEM SRC src/syncArbitrator.c)
ADD_LIBRARY(sync ${SRC})
TARGET_LINK_LIBRARIES(sync tutil pthread common)
陶建辉(Jeff)'s avatar
陶建辉(Jeff) 已提交
10

S
TD-2837  
Shengliang Guan 已提交
11 12 13
LIST(APPEND BIN_SRC src/syncArbitrator.c)
LIST(APPEND BIN_SRC src/syncTcp.c)
ADD_EXECUTABLE(tarbitrator ${BIN_SRC})
S
TD-4088  
Shengliang Guan 已提交
14
TARGET_LINK_LIBRARIES(tarbitrator sync common os tutil)
陶建辉(Jeff)'s avatar
陶建辉(Jeff) 已提交
15

S
TD-2837  
Shengliang Guan 已提交
16
#ADD_SUBDIRECTORY(test)