
The routers should not have undefied references. Exceptions to this are the modules that use the maxscale_shutdown() function defined in gateway.cc.
6 lines
331 B
CMake
6 lines
331 B
CMake
add_library(schemarouter SHARED schemarouter.cc schemarouterinstance.cc schemaroutersession.cc shard_map.cc)
|
|
target_link_libraries(schemarouter maxscale-common mysqlcommon)
|
|
add_dependencies(schemarouter pcre2)
|
|
set_target_properties(schemarouter PROPERTIES VERSION "1.0.0" LINK_FLAGS -Wl,-z,defs)
|
|
install_module(schemarouter core)
|