CMakeLists.txt 576 字节
Newer Older
S
slguan 已提交
1 2 3
PROJECT(TDengine)

INCLUDE_DIRECTORIES(${TD_COMMUNITY_DIR}/src/inc)
S
Shengliang Guan 已提交
4
INCLUDE_DIRECTORIES(${TD_COMMUNITY_DIR}/src/os/inc)
S
slguan 已提交
5
INCLUDE_DIRECTORIES(${TD_COMMUNITY_DIR}/src/util/inc)
S
slguan 已提交
6
INCLUDE_DIRECTORIES(${TD_COMMUNITY_DIR}/src/common/inc)
S
slguan 已提交
7
INCLUDE_DIRECTORIES(${TD_COMMUNITY_DIR}/src/client/inc)
S
slguan 已提交
8
INCLUDE_DIRECTORIES(${TD_COMMUNITY_DIR}/deps/cJson/inc)
S
slguan 已提交
9 10 11 12 13 14 15 16
INCLUDE_DIRECTORIES(inc)

IF (TD_WINDOWS_64)
  INCLUDE_DIRECTORIES(${TD_COMMUNITY_DIR}/deps/pthread)
ENDIF ()

AUX_SOURCE_DIRECTORY(src SRC)
ADD_EXECUTABLE(tsim ${SRC})
S
slguan 已提交
17
TARGET_LINK_LIBRARIES(tsim taos_static trpc tutil pthread cJson)