summaryrefslogtreecommitdiffstats
path: root/libmariadb/client/CMakeLists.txt
blob: 9a610847c4619f4b12e7decde7ca5d8ba9c47368 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
INCLUDE_DIRECTORIES(${CC_SOURCE_DIR}/include)

IF(WIN32)
  SET_VERSION_INFO("TARGET:mariadb_client_plugin_info"
                   "FILE_TYPE:VFT_APP"
                   "SOURCE_FILE:client/ma_plugin_info.c"
                   "ORIGINAL_FILE_NAME:mariadb_client_plugin_info.exe"
                   "FILE_DESCRIPTION:Client plugin viewer")
ENDIF()

ADD_EXECUTABLE(mariadb_client_plugin_info ${mariadb_client_plugin_info_RC} ma_plugin_info.c)
TARGET_LINK_LIBRARIES(mariadb_client_plugin_info mariadbclient)

INSTALL(TARGETS mariadb_client_plugin_info
        DESTINATION ${INSTALL_BINDIR}
        COMPONENT SharedLibraries)
SIGN_TARGET(mariadb_client_plugin_info)