annotate extensions/rt_randomize/CMakeLists.txt @ 1293:17e6e6d72c9b

Added tag 1.2.1-rc2 for changeset 13948c684c35
author Sebastien Decugis <sdecugis@freediameter.net>
date Thu, 18 Jun 2015 22:58:01 +0800
parents 2a7b32176d2e
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1278
2a7b32176d2e Add extension to randomly choose one of the highest-scored hosts,
Thomas Klausner <tk@giga.or.at>
parents:
diff changeset
1 # The rt_randomize extension
2a7b32176d2e Add extension to randomly choose one of the highest-scored hosts,
Thomas Klausner <tk@giga.or.at>
parents:
diff changeset
2 PROJECT("Routing extension randomly increases the routing count for one of the highest-rated hosts, if there are multiple ones" C)
2a7b32176d2e Add extension to randomly choose one of the highest-scored hosts,
Thomas Klausner <tk@giga.or.at>
parents:
diff changeset
3
2a7b32176d2e Add extension to randomly choose one of the highest-scored hosts,
Thomas Klausner <tk@giga.or.at>
parents:
diff changeset
4 # List of source files
2a7b32176d2e Add extension to randomly choose one of the highest-scored hosts,
Thomas Klausner <tk@giga.or.at>
parents:
diff changeset
5 SET(RT_RANDOMIZE_SRC
2a7b32176d2e Add extension to randomly choose one of the highest-scored hosts,
Thomas Klausner <tk@giga.or.at>
parents:
diff changeset
6 rt_randomize.c
2a7b32176d2e Add extension to randomly choose one of the highest-scored hosts,
Thomas Klausner <tk@giga.or.at>
parents:
diff changeset
7 )
2a7b32176d2e Add extension to randomly choose one of the highest-scored hosts,
Thomas Klausner <tk@giga.or.at>
parents:
diff changeset
8
2a7b32176d2e Add extension to randomly choose one of the highest-scored hosts,
Thomas Klausner <tk@giga.or.at>
parents:
diff changeset
9 INCLUDE_DIRECTORIES(${CMAKE_CURRENT_BINARY_DIR})
2a7b32176d2e Add extension to randomly choose one of the highest-scored hosts,
Thomas Klausner <tk@giga.or.at>
parents:
diff changeset
10
2a7b32176d2e Add extension to randomly choose one of the highest-scored hosts,
Thomas Klausner <tk@giga.or.at>
parents:
diff changeset
11 # Compile these files as a freeDiameter extension
2a7b32176d2e Add extension to randomly choose one of the highest-scored hosts,
Thomas Klausner <tk@giga.or.at>
parents:
diff changeset
12 FD_ADD_EXTENSION(rt_randomize ${RT_RANDOMIZE_SRC})
2a7b32176d2e Add extension to randomly choose one of the highest-scored hosts,
Thomas Klausner <tk@giga.or.at>
parents:
diff changeset
13
2a7b32176d2e Add extension to randomly choose one of the highest-scored hosts,
Thomas Klausner <tk@giga.or.at>
parents:
diff changeset
14 ####
2a7b32176d2e Add extension to randomly choose one of the highest-scored hosts,
Thomas Klausner <tk@giga.or.at>
parents:
diff changeset
15 ## INSTALL section ##
2a7b32176d2e Add extension to randomly choose one of the highest-scored hosts,
Thomas Klausner <tk@giga.or.at>
parents:
diff changeset
16
2a7b32176d2e Add extension to randomly choose one of the highest-scored hosts,
Thomas Klausner <tk@giga.or.at>
parents:
diff changeset
17 # We install with the daemon component because it is a base feature.
2a7b32176d2e Add extension to randomly choose one of the highest-scored hosts,
Thomas Klausner <tk@giga.or.at>
parents:
diff changeset
18 INSTALL(TARGETS rt_randomize
2a7b32176d2e Add extension to randomly choose one of the highest-scored hosts,
Thomas Klausner <tk@giga.or.at>
parents:
diff changeset
19 LIBRARY DESTINATION ${INSTALL_EXTENSIONS_SUFFIX}
2a7b32176d2e Add extension to randomly choose one of the highest-scored hosts,
Thomas Klausner <tk@giga.or.at>
parents:
diff changeset
20 COMPONENT freeDiameter-daemon)
"Welcome to our mercurial repository"