initial implementation of the CMake build system

This commit is contained in:
Markus Makela
2014-09-11 18:24:41 +03:00
parent 30c52677b0
commit b3ce971020
16 changed files with 199 additions and 0 deletions

View File

@ -0,0 +1,4 @@
add_library(binlogrouter SHARED blr.c blr_master.c blr_cache.c blr_slave.c blr_file.c)
set_target_properties(binlogrouter PROPERTIES INSTALL_RPATH ${CMAKE_INSTALL_RPATH}:${CMAKE_INSTALL_PREFIX}/lib)
target_link_libraries(binlogrouter ssl pthread log_manager mysqld)
install(TARGETS binlogrouter DESTINATION modules)