MXS-1538: Integrate CDC-Connector into MaxScale

Added the files from the repository to MaxScale. Created a new CMake
function for installing development libraries.
This commit is contained in:
Markus Mäkelä
2018-01-17 13:21:31 +02:00
parent b8e72c939d
commit 070df73d99
9 changed files with 1605 additions and 0 deletions

View File

@ -0,0 +1,12 @@
# 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 devel)
install_dev_library(cdc_connector_static devel)
install_header(cdc_connector.h devel)