MXS-1413: Make the CDC connector a standalone library
The library is still located in the test directory but the way it is now built allows it to be used like a standalone library
This commit is contained in:
@ -45,17 +45,13 @@ else()
|
||||
message(WARNING "Java not found, Java based tests are not run.")
|
||||
endif()
|
||||
|
||||
# Build the CDC connector
|
||||
add_subdirectory(cdc_connector)
|
||||
include_directories(cdc_connector)
|
||||
|
||||
# The core library
|
||||
add_library(testcore SHARED testconnections.cpp mariadb_nodes.cpp
|
||||
mariadb_func.cpp get_com_select_insert.cpp maxadmin_operations.cpp big_transaction.cpp
|
||||
sql_t1.cpp test_binlog_fnc.cpp get_my_ip.cpp big_load.cpp get_com_select_insert.cpp
|
||||
different_size.cpp fw_copy_rules maxinfo_func.cpp config_operations.cpp rds_vpc.cpp execute_cmd.cpp
|
||||
blob_test.cpp)
|
||||
target_link_libraries(testcore ${MYSQL_CLIENT} z crypt nsl m pthread ssl crypto dl rt cdc_connector)
|
||||
target_link_libraries(testcore ${MYSQL_CLIENT} z crypt nsl m pthread ssl crypto dl rt ${CDC_CONNECTOR_LIBRARIES} jansson)
|
||||
install(TARGETS testcore DESTINATION system-test)
|
||||
add_dependencies(testcore connector-c cdc_connector)
|
||||
|
||||
|
Reference in New Issue
Block a user