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

4
IF (TD_LINUX)
陶建辉(Jeff)'s avatar
陶建辉(Jeff) 已提交
5 6 7 8 9 10 11 12 13 14 15
  INCLUDE_DIRECTORIES(../inc)

  LIST(APPEND CLIENT_SRC ./syncClient.c)
  ADD_EXECUTABLE(syncClient ${CLIENT_SRC})
  TARGET_LINK_LIBRARIES(syncClient sync trpc common)

  LIST(APPEND SERVER_SRC ./syncServer.c)
  ADD_EXECUTABLE(syncServer ${SERVER_SRC})
  TARGET_LINK_LIBRARIES(syncServer sync trpc common)
ENDIF ()