CMakeLists.txt 511 字节
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
  INCLUDE_DIRECTORIES(${TD_OS_DIR}/inc)
S
slguan 已提交
6
  INCLUDE_DIRECTORIES(${TD_COMMUNITY_DIR}/src/inc)
S
slguan 已提交
7
  INCLUDE_DIRECTORIES(${TD_COMMUNITY_DIR}/src/util/inc)
S
slguan 已提交
8
  INCLUDE_DIRECTORIES(${TD_COMMUNITY_DIR}/src/common/inc)
S
slguan 已提交
9
  INCLUDE_DIRECTORIES(inc)
S
slguan 已提交
10
  AUX_SOURCE_DIRECTORY(src SRC)
S
slguan 已提交
11

S
slguan 已提交
12
  ADD_LIBRARY(os ${SRC})
L
lihui 已提交
13
  TARGET_LINK_LIBRARIES(os m rt)
S
slguan 已提交
14
ENDIF ()
sangshuduo's avatar
sangshuduo 已提交
15 16

SET_SOURCE_FILES_PROPERTIES(src/linuxSysPara.c PROPERTIES COMPILE_FLAGS -w)