CMakeLists.txt 583 字节
Newer Older
S
#1177  
slguan 已提交
1 2 3
CMAKE_MINIMUM_REQUIRED(VERSION 2.8)
PROJECT(TDengine)

S
#1177  
slguan 已提交
4
IF ((TD_LINUX_64) OR (TD_LINUX_32 AND TD_ARM))
S
slguan 已提交
5
  INCLUDE_DIRECTORIES(${TD_COMMUNITY_DIR}/src/inc)
S
Shengliang Guan 已提交
6
  INCLUDE_DIRECTORIES(${TD_COMMUNITY_DIR}/src/os/inc)
S
[TD-10]  
slguan 已提交
7
  INCLUDE_DIRECTORIES(${TD_COMMUNITY_DIR}/src/common/inc)
S
slguan 已提交
8
  INCLUDE_DIRECTORIES(${TD_COMMUNITY_DIR}/src/util/inc)
9
  INCLUDE_DIRECTORIES(${TD_COMMUNITY_DIR}/src/query/inc)
S
slguan 已提交
10 11
  INCLUDE_DIRECTORIES(${TD_COMMUNITY_DIR}/src/dnode/inc)

S
#1177  
slguan 已提交
12 13
  INCLUDE_DIRECTORIES(inc)
  AUX_SOURCE_DIRECTORY(src SRC)
S
slguan 已提交
14

S
#1177  
slguan 已提交
15
  ADD_LIBRARY(mnode ${SRC})
S
slguan 已提交
16
  #TARGET_LINK_LIBRARIES(mnode trpc tutil pthread)
S
slguan 已提交
17
ENDIF ()