Brian Waters | 13d9601 | 2017-12-08 16:53:31 -0600 | [diff] [blame] | 1 | # The rt_load_balance extension |
| 2 | PROJECT("Routing extension splits requests evenly over multiple hosts, using current load as routing indicator" C) |
| 3 | |
| 4 | # List of source files |
| 5 | SET(RT_LOAD_BALANCE_SRC |
| 6 | rt_load_balance.c |
| 7 | ) |
| 8 | |
| 9 | INCLUDE_DIRECTORIES(${CMAKE_CURRENT_BINARY_DIR}) |
| 10 | |
| 11 | # Compile these files as a freeDiameter extension |
| 12 | FD_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. |
| 18 | INSTALL(TARGETS rt_load_balance |
| 19 | LIBRARY DESTINATION ${INSTALL_EXTENSIONS_SUFFIX} |
| 20 | COMPONENT freeDiameter-daemon) |