blob: d5c491e5f9445e2f249b5b6333da176e910d1814 [file] [log] [blame]
Brian Waters13d96012017-12-08 16:53:31 -06001# The rt_load_balance extension
2PROJECT("Routing extension splits requests evenly over multiple hosts, using current load as routing indicator" C)
3
4# List of source files
5SET(RT_LOAD_BALANCE_SRC
6 rt_load_balance.c
7)
8
9INCLUDE_DIRECTORIES(${CMAKE_CURRENT_BINARY_DIR})
10
11# Compile these files as a freeDiameter extension
12FD_ADD_EXTENSION(rt_load_balance ${RT_LOAD_BALANCE_SRC})
13
14####
15## INSTALL section ##
16
17# We install with the daemon component because it is a base feature.
18INSTALL(TARGETS rt_load_balance
19 LIBRARY DESTINATION ${INSTALL_EXTENSIONS_SUFFIX}
20 COMPONENT freeDiameter-daemon)