Files
MaxScale/connectors/cdc-connector/CMakeLists.txt
Markus Mäkelä eab4ec1768 Add component specific package descriptions
The package descriptions, summaries and licenses now use a generic
mechanism. This makes it easier to add new components that only include
small parts or use a different license.

Also updated the descriptions, the license versions and package summaries
for the main packages.
2018-02-12 13:31:10 +02:00

18 lines
823 B
CMake

# Shared version of the library
add_library(cdc_connector SHARED cdc_connector.cpp)
target_link_libraries(cdc_connector ${JANSSON_LIBRARIES} crypto)
set_target_properties(cdc_connector PROPERTIES VERSION "1.0.0")
# Static version of the library
add_library(cdc_connector_static STATIC cdc_connector.cpp)
set_target_properties(cdc_connector_static PROPERTIES OUTPUT_NAME cdc_connector)
install_dev_library(cdc_connector cdc-connector)
install_dev_library(cdc_connector_static cdc-connector)
install_header(cdc_connector.h cdc-connector)
install_file(LICENSE cdc-connector)
set(cdc-connector_PACKAGE_SUMMARY "MaxScale CDC Connector" CACHE INTERNAL "")
set(cdc-connector_PACKAGE_DESCRIPTION "The C++ connector for the MariaDB MaxScale CDC system." CACHE INTERNAL "")
set(cdc-connector_LICENSE "LGPLv2.1" CACHE INTERNAL "")