Compile schemarouter as C++

Compile schemarouter as C++ so that refactoring into more coherent parts
is easier.
This commit is contained in:
Markus Mäkelä
2017-03-24 13:22:13 +02:00
parent 509a5c6ed3
commit a5fd53e9a0
5 changed files with 2179 additions and 2301 deletions

View File

@ -1,4 +1,4 @@
add_library(schemarouter SHARED schemarouter.c sharding_common.c)
add_library(schemarouter SHARED schemarouter.cc)
target_link_libraries(schemarouter maxscale-common)
add_dependencies(schemarouter pcre2)
set_target_properties(schemarouter PROPERTIES VERSION "1.0.0")