CMakeLists.txt 1.9 KB
Newer Older
S
slguan 已提交
1 2 3 4
CMAKE_MINIMUM_REQUIRED(VERSION 2.8)
PROJECT(TDengine)

INCLUDE_DIRECTORIES(${TD_COMMUNITY_DIR}/src/inc)
S
Shengliang Guan 已提交
5
INCLUDE_DIRECTORIES(${TD_COMMUNITY_DIR}/src/os/inc)
S
slguan 已提交
6
INCLUDE_DIRECTORIES(${TD_COMMUNITY_DIR}/src/util/inc)
S
slguan 已提交
7
INCLUDE_DIRECTORIES(${TD_COMMUNITY_DIR}/src/common/inc)
S
TD-1291  
Shengliang Guan 已提交
8 9 10 11 12 13
INCLUDE_DIRECTORIES(${TD_COMMUNITY_DIR}/src/query/inc)
INCLUDE_DIRECTORIES(${TD_COMMUNITY_DIR}/src/mnode/inc)
INCLUDE_DIRECTORIES(${TD_COMMUNITY_DIR}/src/tsdb/inc)
INCLUDE_DIRECTORIES(${TD_COMMUNITY_DIR}/src/plugins/http/inc)
INCLUDE_DIRECTORIES(${TD_COMMUNITY_DIR}/src/inc)
INCLUDE_DIRECTORIES(${TD_ENTERPRISE_DIR}/src/inc)
S
slguan 已提交
14

S
TD-1057  
Shengliang Guan 已提交
15
IF (TD_LINUX)
S
Shengliang Guan 已提交
16 17
  #add_executable(insertPerTable insertPerTable.c)
  #target_link_libraries(insertPerTable taos_static pthread)
S
slguan 已提交
18

19 20
  #add_executable(insertPerRow insertPerRow.c)
  #target_link_libraries(insertPerRow taos_static pthread)
S
slguan 已提交
21

S
Shengliang Guan 已提交
22 23
  #add_executable(importOneRow importOneRow.c)
  #target_link_libraries(importOneRow taos_static pthread)
S
slguan 已提交
24

S
TD-1550  
Shengliang Guan 已提交
25 26
  add_executable(importPerTable importPerTable.c)
  target_link_libraries(importPerTable taos_static pthread)
S
Shengliang Guan 已提交
27

S
Shengliang Guan 已提交
28 29 30
  #add_executable(hashPerformance hashPerformance.c)
  #target_link_libraries(hashPerformance taos_static tutil common pthread)

31 32 33
  #add_executable(createTablePerformance createTablePerformance.c)
  #target_link_libraries(createTablePerformance taos_static tutil common pthread)

S
Shengliang Guan 已提交
34 35 36
  #add_executable(createNormalTable createNormalTable.c)
  #target_link_libraries(createNormalTable taos_static tutil common pthread)

S
TD-1291  
Shengliang Guan 已提交
37 38 39
  #add_executable(queryPerformance queryPerformance.c)
  #target_link_libraries(queryPerformance taos_static tutil common pthread)
  
S
TD-1550  
Shengliang Guan 已提交
40 41
  #add_executable(httpTest httpTest.c)
  #target_link_libraries(httpTest taos_static tutil common pthread mnode monitor http tsdb twal vnode cJson lz4)
S
Shengliang Guan 已提交
42

S
TD-1550  
Shengliang Guan 已提交
43 44
  #add_executable(cacheTest cacheTest.c)
  #target_link_libraries(cacheTest taos_static tutil common pthread mnode monitor http tsdb twal vnode cJson lz4)
S
slguan 已提交
45
ENDIF()
S
TD-1291  
Shengliang Guan 已提交
46