CMakeLists.txt 589 字节
Newer Older
T
tickduan 已提交
1 2 3 4 5 6 7 8 9 10
CMAKE_MINIMUM_REQUIRED(VERSION 2.8)
PROJECT(TDengine)

INCLUDE_DIRECTORIES(${TD_COMMUNITY_DIR}/src/util/inc)
INCLUDE_DIRECTORIES(${TD_COMMUNITY_DIR}/src/os/inc)
INCLUDE_DIRECTORIES(inc)

IF (TD_LINUX)
  AUX_SOURCE_DIRECTORY(. SRC)
  ADD_EXECUTABLE(taospack ${SRC})
11
  TARGET_LINK_LIBRARIES(taospack os tutil tsdb ${VAR_TSZ})
T
tickduan 已提交
12 13 14 15 16 17 18 19 20 21
ELSEIF (TD_WINDOWS)
  AUX_SOURCE_DIRECTORY(. SRC)
  ADD_EXECUTABLE(taospack ${SRC})
  TARGET_LINK_LIBRARIES(taospack)
ELSEIF (TD_DARWIN)
  # MAC
  AUX_SOURCE_DIRECTORY(. SRC)
  ADD_EXECUTABLE(taospack ${SRC})
  TARGET_LINK_LIBRARIES(taospack os tutil tsdb)
ENDIF ()