12 lines
		
	
	
		
			441 B
		
	
	
	
		
			CMake
		
	
	
	
	
	
			
		
		
	
	
			12 lines
		
	
	
		
			441 B
		
	
	
	
		
			CMake
		
	
	
	
	
	
add_library(schemarouter SHARED schemarouter.c sharding_common.c)
 | 
						|
target_link_libraries(schemarouter log_manager query_classifier)
 | 
						|
install(TARGETS schemarouter DESTINATION ${MAXSCALE_LIBDIR})
 | 
						|
 | 
						|
add_library(shardrouter SHARED shardrouter.c svcconn.c sharding_common.c)
 | 
						|
target_link_libraries(shardrouter log_manager query_classifier)
 | 
						|
install(TARGETS shardrouter DESTINATION ${MAXSCALE_LIBDIR})
 | 
						|
 | 
						|
if(BUILD_TESTS)
 | 
						|
  add_subdirectory(test)
 | 
						|
endif()
 |