"Fossies" - the Fresh Open Source Software Archive

Member "mariadb-connector-c-3.0.9-src/cmake/install_plugins.cmake" (8 Feb 2019, 736 Bytes) of package /linux/misc/mariadb-connector-c-3.0.9-src.tar.gz:

As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) CMake source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file. See also the last Fossies "Diffs" side-by-side code changes report for "install_plugins.cmake": 3.0.7_vs_3.0.8.

    1 #
    2 #  Copyright (C) 2013-2016 MariaDB Corporation AB
    3 #
    4 #  Redistribution and use is allowed according to the terms of the New
    5 #  BSD license.
    6 #  For details see the COPYING-CMAKE-SCRIPTS file.
    7 #
    8 # plugin installation
   10 MACRO(INSTALL_PLUGIN name binary_dir)
   12   IF(WIN32)
   13     FILE(APPEND ${CC_BINARY_DIR}/win/packaging/plugin.conf "<File Id=\"${name}.dll\" Name=\"${name}.dll\" DiskId=\"1\" Source=\"${binary_dir}/${CMAKE_BUILD_TYPE}/${name}.dll\"/>\n")
   14     FILE(APPEND ${CC_BINARY_DIR}/win/packaging/plugin.conf "<File Id=\"${name}.pdb\" Name=\"${name}.pdb\" DiskId=\"1\" Source=\"${binary_dir}/${CMAKE_BUILD_TYPE}/${name}.pdb\"/>\n")
   15   ENDIF()
   16 ENDMACRO()