
The tests are now built by default. This should make it easier for users to verify that they have a working MaxScale. Also made the building of test_parse_kill conditional like the rest of the tests.
12 lines
329 B
CMake
12 lines
329 B
CMake
add_library(mysqlcommon SHARED mysql_common.cc mariadb_client.cc)
|
|
target_link_libraries(mysqlcommon maxscale-common)
|
|
set_target_properties(mysqlcommon PROPERTIES VERSION "2.0.0")
|
|
install_module(mysqlcommon core)
|
|
|
|
add_subdirectory(mariadbbackend)
|
|
add_subdirectory(mariadbclient)
|
|
|
|
if (BUILD_TESTS)
|
|
add_subdirectory(test)
|
|
endif()
|