
The MySQLCommon library contains functions used by both the protocol and authenticator modules. The contents of the modutil.c file could also be moved to this file if the functions in that file are only used by modules and not the core.
8 lines
388 B
CMake
8 lines
388 B
CMake
add_library(MySQLBackend SHARED mysql_backend.c)
|
|
# TODO: Refactor MySQLBackend so that COM_CHANGE_USER processing is
|
|
# transparent to the protocol module. After this change, we don't need to
|
|
# link against MySQLAuth.
|
|
target_link_libraries(MySQLBackend maxscale-common MySQLCommon MySQLAuth)
|
|
set_target_properties(MySQLBackend PROPERTIES VERSION "2.0.0")
|
|
install_module(MySQLBackend core)
|