view extensions/rt_load_balance/CMakeLists.txt @ 1221:6f75842935f6

Reduce candidate score down to 1 due to load balancing. Before, the maximum reduction was 5.
author Thomas Klausner <tk@giga.or.at>
date Thu, 20 Jun 2013 11:51:24 +0200
parents dcc0eff204cf
children 9860ff6e9497
line wrap: on
line source

# The rt_load_balance extension
PROJECT("Routing extension splits requests evenly over multiple hosts, using current load as routing indicator" C)

# List of source files
SET(RT_IGNORE_DH_SRC
	rt_load_balance.c
)

INCLUDE_DIRECTORIES(${CMAKE_CURRENT_BINARY_DIR})

# Compile these files as a freeDiameter extension
FD_ADD_EXTENSION(rt_load_balance ${RT_IGNORE_DH_SRC})

####
## INSTALL section ##

# We install with the daemon component because it is a base feature.
INSTALL(TARGETS rt_load_balance
	LIBRARY DESTINATION ${INSTALL_EXTENSIONS_SUFFIX}
	COMPONENT freeDiameter-daemon)
"Welcome to our mercurial repository"