CMakeLists.txt 347 字节
Newer Older
1 2 3 4
PROJECT(TDengine)

IF (TD_LINUX)
  ADD_EXECUTABLE(todbcinst main.c)
5
  TARGET_LINK_LIBRARIES(todbcinst odbc odbcinst)
6 7 8 9 10
ENDIF ()

IF (TD_WINDOWS_64)
  ADD_EXECUTABLE(todbcinst main.c)
  TARGET_LINK_LIBRARIES(todbcinst odbc32 odbccp32 user32 legacy_stdio_definitions os)
11
  INSTALL(FILES ${EXECUTABLE_OUTPUT_PATH}/todbcinst.exe DESTINATION .)
12
ENDIF ()