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

L
lihui 已提交
4
IF ((TD_LINUX_64) OR (TD_LINUX_32 AND TD_ARM))
S
slguan 已提交
5 6
  INCLUDE_DIRECTORIES(${TD_COMMUNITY_DIR}/src/inc)
  INCLUDE_DIRECTORIES(inc)
S
slguan 已提交
7 8
  AUX_SOURCE_DIRECTORY(src SRC)
  ADD_LIBRARY(os ${SRC})
9
  TARGET_LINK_LIBRARIES(os m rt atomic)
S
slguan 已提交
10
ENDIF ()