CMakeLists.txt 360 字节
Newer Older
H
Hongze Cheng 已提交
1
CMAKE_MINIMUM_REQUIRED(VERSION 2.8)
H
hzcheng 已提交
2 3
PROJECT(TDengine)

S
slguan 已提交
4 5 6 7 8 9
INCLUDE_DIRECTORIES(${TD_COMMUNITY_DIR}/src/inc)
INCLUDE_DIRECTORIES(${TD_COMMUNITY_DIR}/src/client/inc)
INCLUDE_DIRECTORIES(${TD_OS_DIR}/inc)
INCLUDE_DIRECTORIES(inc)

IF (TD_LINUX_64)
S
slguan 已提交
10
  AUX_SOURCE_DIRECTORY(. SRC)
11 12
  ADD_EXECUTABLE(taosdemo ${SRC})
  TARGET_LINK_LIBRARIES(taosdemo taos_static)
S
slguan 已提交
13
ENDIF ()