Rename BUILD_AVRO to BUILD_CDC

Using the broader CDC name instead of AVRO for the CMake variable name
makes more sense as there are modules other than the avrorouter.
This commit is contained in:
Markus Mäkelä
2017-02-03 08:11:44 +02:00
parent d8e05436b1
commit a5a579ffce
7 changed files with 13 additions and 19 deletions

View File

@ -1,6 +1,4 @@
if(BUILD_CDC)
add_library(CDCPlainAuth SHARED cdc_plain_auth.c)
target_link_libraries(CDCPlainAuth maxscale-common)
set_target_properties(CDCPlainAuth PROPERTIES VERSION "1.0.0")
install_module(CDCPlainAuth core)
endif()
add_library(CDCPlainAuth SHARED cdc_plain_auth.c)
target_link_libraries(CDCPlainAuth maxscale-common)
set_target_properties(CDCPlainAuth PROPERTIES VERSION "1.0.0")
install_module(CDCPlainAuth core)

View File

@ -1,4 +1,7 @@
add_subdirectory(CDCPlainAuth)
if(BUILD_CDC)
add_subdirectory(CDCPlainAuth)
endif()
add_subdirectory(GSSAPI)
add_subdirectory(HTTPAuth)
add_subdirectory(MaxAdminAuth)
@ -7,10 +10,3 @@ add_subdirectory(MySQLBackendAuth)
add_subdirectory(NullAuthAllow)
add_subdirectory(NullAuthDeny)
# if(BUILD_TESTS)
# add_library(testprotocol SHARED testprotocol.c)
# set_target_properties(testprotocol PROPERTIES VERSION "1.0.0")
# target_link_libraries(testprotocol maxscale-common)
# install_module(testprotocol core)
# endif()

View File

@ -1,4 +1,4 @@
if(BUILD_AVRO)
if(BUILD_CDC)
add_subdirectory(CDC)
add_subdirectory(examples)
endif()

View File

@ -1,4 +1,4 @@
if(BUILD_AVRO)
if(BUILD_CDC)
add_subdirectory(avrorouter)
endif()
if(BUILD_BINLOG)