CMakeLists.txt 417 字节
Newer Older
F
freemine 已提交
1 2 3
PROJECT(TDengine)

IF (TD_LINUX)
F
freemine 已提交
4
  # AUX_SOURCE_DIRECTORY(. SRC)
F
freemine 已提交
5 6
  ADD_EXECUTABLE(tcodbc main.c)
  TARGET_LINK_LIBRARIES(tcodbc odbc)
F
freemine 已提交
7
  ADD_EXECUTABLE(tconv tconv.c)
F
freemine 已提交
8
ENDIF ()
F
freemine 已提交
9 10

IF (TD_WINDOWS_64)
F
freemine 已提交
11
  # AUX_SOURCE_DIRECTORY(. SRC)
F
freemine 已提交
12
  ADD_EXECUTABLE(tcodbc main.c)
13
  TARGET_LINK_LIBRARIES(tcodbc odbc32 odbccp32 user32 legacy_stdio_definitions os)
F
freemine 已提交
14 15
  ADD_EXECUTABLE(tconv tconv.c)
  TARGET_LINK_LIBRARIES(tconv os)
F
freemine 已提交
16
ENDIF ()