view extensions/rt_randomize/CMakeLists.txt @ 1534:c83e60f28632

dict_dcca_3gpp: simplify rule creation Refactor local_rules_definition to simplify rule creation (to avoid c99 struct initialisers that result in long lines). No change to generated rules.
author Luke Mewburn <luke@mewburn.net>
date Mon, 20 Apr 2020 12:12:42 +1000
parents 2a7b32176d2e
children
line wrap: on
line source

# The rt_randomize extension
PROJECT("Routing extension randomly increases the routing count for one of the highest-rated hosts, if there are multiple ones" C)

# List of source files
SET(RT_RANDOMIZE_SRC
	rt_randomize.c
)

INCLUDE_DIRECTORIES(${CMAKE_CURRENT_BINARY_DIR})

# Compile these files as a freeDiameter extension
FD_ADD_EXTENSION(rt_randomize ${RT_RANDOMIZE_SRC})

####
## INSTALL section ##

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