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

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

S
TD-1057  
Shengliang Guan 已提交
7
IF (TD_LINUX)
S
slguan 已提交
8
  AUX_SOURCE_DIRECTORY(. SRC)
9
  ADD_EXECUTABLE(taosdemo ${SRC})
L
lihui 已提交
10
  
H
Hui Li 已提交
11
#  IF (TD_PAGMODE_LITE)
L
lihui 已提交
12
    TARGET_LINK_LIBRARIES(taosdemo taos)
H
Hui Li 已提交
13 14 15
#  ELSE ()
#    TARGET_LINK_LIBRARIES(taosdemo taos_static)
#  ENDIF ()
S
TD-1057  
Shengliang Guan 已提交
16 17 18
ELSEIF (TD_WINDOWS)
  AUX_SOURCE_DIRECTORY(. SRC)
  ADD_EXECUTABLE(taosdemo ${SRC})
S
slguan 已提交
19
ENDIF ()