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

S
TD-1037  
Shengliang Guan 已提交
4
IF (TD_WINDOWS)
S
slguan 已提交
5 6 7
  LIST(APPEND SRC iconv.c)
  LIST(APPEND SRC localcharset.c)
  INCLUDE_DIRECTORIES(.)
S
slguan 已提交
8 9
  SET(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} /WX-")
  SET(CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE} /WX-")
S
slguan 已提交
10 11
  ADD_LIBRARY(iconv ${SRC})
ENDIF ()