annotate extensions/CMakeLists.txt @ 524:bc25e91e1e3c

Superseed rt_un_number with a new extension based on regexp matching
author Sebastien Decugis <sdecugis@nict.go.jp>
date Wed, 01 Sep 2010 14:39:22 +0900
parents 179ef7de53de
children 7d431a751d6c
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
8
3e143f047f78 Backup for the week-end
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff changeset
1 PROJECT("freeDiameter extensions" C)
3e143f047f78 Backup for the week-end
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff changeset
2
3e143f047f78 Backup for the week-end
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff changeset
3 # We want all resulting objects in the same folder
3e143f047f78 Backup for the week-end
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff changeset
4 SET(LIBRARY_OUTPUT_PATH ${CMAKE_CURRENT_BINARY_DIR})
3e143f047f78 Backup for the week-end
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff changeset
5
9
fc7c18867cf7 New extension mechanism committed
Sebastien Decugis <sdecugis@nict.go.jp>
parents: 8
diff changeset
6 # Use the macro FD_ADD_EXTENSION(name files...) to create an extension
fc7c18867cf7 New extension mechanism committed
Sebastien Decugis <sdecugis@nict.go.jp>
parents: 8
diff changeset
7 # It is equivalent to add_library with the appropriate parameters
fc7c18867cf7 New extension mechanism committed
Sebastien Decugis <sdecugis@nict.go.jp>
parents: 8
diff changeset
8 # and naming conventions (.fdx : FreeDiameter eXtension)
fc7c18867cf7 New extension mechanism committed
Sebastien Decugis <sdecugis@nict.go.jp>
parents: 8
diff changeset
9 MACRO(FD_ADD_EXTENSION EXTNAME)
fc7c18867cf7 New extension mechanism committed
Sebastien Decugis <sdecugis@nict.go.jp>
parents: 8
diff changeset
10 ADD_LIBRARY(${EXTNAME} MODULE ${ARGN})
fc7c18867cf7 New extension mechanism committed
Sebastien Decugis <sdecugis@nict.go.jp>
parents: 8
diff changeset
11 SET_TARGET_PROPERTIES(${EXTNAME} PROPERTIES PREFIX "" )
fc7c18867cf7 New extension mechanism committed
Sebastien Decugis <sdecugis@nict.go.jp>
parents: 8
diff changeset
12 SET_TARGET_PROPERTIES(${EXTNAME} PROPERTIES SUFFIX ".fdx" )
fc7c18867cf7 New extension mechanism committed
Sebastien Decugis <sdecugis@nict.go.jp>
parents: 8
diff changeset
13 ENDMACRO(FD_ADD_EXTENSION)
8
3e143f047f78 Backup for the week-end
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff changeset
14
238
62eaf631eb61 Fix compilation issue when gnutls is not in standard directory
Sebastien Decugis <sdecugis@nict.go.jp>
parents: 167
diff changeset
15 # The extensions include the headers of freeDiameter that contains gnutls objects
283
f433bc04eb6a Renamed module to align with distribution shiped file
Sebastien Decugis <sdecugis@nict.go.jp>
parents: 279
diff changeset
16 FIND_PACKAGE(GnuTLS REQUIRED)
493
d68f27e7e814 Fixed a few CMake variable names
Sebastien Decugis <sdecugis@nict.go.jp>
parents: 425
diff changeset
17 INCLUDE_DIRECTORIES(${GNUTLS_INCLUDE_DIR})
238
62eaf631eb61 Fix compilation issue when gnutls is not in standard directory
Sebastien Decugis <sdecugis@nict.go.jp>
parents: 167
diff changeset
18 find_path(GCRYPT_INCLUDE_DIR NAMES gcrypt.h)
62eaf631eb61 Fix compilation issue when gnutls is not in standard directory
Sebastien Decugis <sdecugis@nict.go.jp>
parents: 167
diff changeset
19 If ( NOT GCRYPT_INCLUDE_DIR )
62eaf631eb61 Fix compilation issue when gnutls is not in standard directory
Sebastien Decugis <sdecugis@nict.go.jp>
parents: 167
diff changeset
20 MESSAGE(SEND_ERROR "Unable to find gcrypt.h, please install libgcrypt-dev or equivalent")
62eaf631eb61 Fix compilation issue when gnutls is not in standard directory
Sebastien Decugis <sdecugis@nict.go.jp>
parents: 167
diff changeset
21 Endif ( NOT GCRYPT_INCLUDE_DIR )
304
ad3c46016584 Added install directives for cmake; also allow default directory to seek for extensions and configuration files
Sebastien Decugis <sdecugis@nict.go.jp>
parents: 283
diff changeset
22 MARK_AS_ADVANCED(GCRYPT_INCLUDE_DIR)
238
62eaf631eb61 Fix compilation issue when gnutls is not in standard directory
Sebastien Decugis <sdecugis@nict.go.jp>
parents: 167
diff changeset
23 INCLUDE_DIRECTORIES(${GCRYPT_INCLUDE_DIR})
62eaf631eb61 Fix compilation issue when gnutls is not in standard directory
Sebastien Decugis <sdecugis@nict.go.jp>
parents: 167
diff changeset
24
8
3e143f047f78 Backup for the week-end
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff changeset
25 ###########################
3e143f047f78 Backup for the week-end
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff changeset
26 # Extensions section
3e143f047f78 Backup for the week-end
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff changeset
27
3e143f047f78 Backup for the week-end
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff changeset
28 ####
3e143f047f78 Backup for the week-end
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff changeset
29 # Diameter applications dictionary
254
a857024cb48b Ported the RADIUS/Diameter translation code from waaad project. Not tested yet. Gateway plugins to come later.
Sebastien Decugis <sdecugis@nict.go.jp>
parents: 238
diff changeset
30
10
c5c99c73c2bf Added some extensions and functions in the daemon
Sebastien Decugis <sdecugis@nict.go.jp>
parents: 9
diff changeset
31 OPTION(BUILD_DICT_NASREQ "Build NASREQ (RFC4005) Dictionary definitions?" ON)
c5c99c73c2bf Added some extensions and functions in the daemon
Sebastien Decugis <sdecugis@nict.go.jp>
parents: 9
diff changeset
32 IF (BUILD_DICT_NASREQ)
c5c99c73c2bf Added some extensions and functions in the daemon
Sebastien Decugis <sdecugis@nict.go.jp>
parents: 9
diff changeset
33 SUBDIRS(dict_nasreq)
c5c99c73c2bf Added some extensions and functions in the daemon
Sebastien Decugis <sdecugis@nict.go.jp>
parents: 9
diff changeset
34 ENDIF (BUILD_DICT_NASREQ)
8
3e143f047f78 Backup for the week-end
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff changeset
35
10
c5c99c73c2bf Added some extensions and functions in the daemon
Sebastien Decugis <sdecugis@nict.go.jp>
parents: 9
diff changeset
36 OPTION(BUILD_DICT_EAP "Build Diameter EAP (RFC4072) Dictionary definitions?" ON)
c5c99c73c2bf Added some extensions and functions in the daemon
Sebastien Decugis <sdecugis@nict.go.jp>
parents: 9
diff changeset
37 IF (BUILD_DICT_EAP)
c5c99c73c2bf Added some extensions and functions in the daemon
Sebastien Decugis <sdecugis@nict.go.jp>
parents: 9
diff changeset
38 SUBDIRS(dict_eap)
c5c99c73c2bf Added some extensions and functions in the daemon
Sebastien Decugis <sdecugis@nict.go.jp>
parents: 9
diff changeset
39 ENDIF (BUILD_DICT_EAP)
8
3e143f047f78 Backup for the week-end
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff changeset
40
331
ac6e9cc9c3ba Added dict_sip contributed by Alexandre
Sebastien Decugis <sdecugis@nict.go.jp>
parents: 304
diff changeset
41 OPTION(BUILD_DICT_SIP "Build Diameter SIP (RFC4740) Dictionary definitions?" ON)
ac6e9cc9c3ba Added dict_sip contributed by Alexandre
Sebastien Decugis <sdecugis@nict.go.jp>
parents: 304
diff changeset
42 IF (BUILD_DICT_SIP)
ac6e9cc9c3ba Added dict_sip contributed by Alexandre
Sebastien Decugis <sdecugis@nict.go.jp>
parents: 304
diff changeset
43 SUBDIRS(dict_sip)
ac6e9cc9c3ba Added dict_sip contributed by Alexandre
Sebastien Decugis <sdecugis@nict.go.jp>
parents: 304
diff changeset
44 ENDIF (BUILD_DICT_SIP)
ac6e9cc9c3ba Added dict_sip contributed by Alexandre
Sebastien Decugis <sdecugis@nict.go.jp>
parents: 304
diff changeset
45
8
3e143f047f78 Backup for the week-end
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff changeset
46
3e143f047f78 Backup for the week-end
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff changeset
47
3e143f047f78 Backup for the week-end
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff changeset
48 ####
254
a857024cb48b Ported the RADIUS/Diameter translation code from waaad project. Not tested yet. Gateway plugins to come later.
Sebastien Decugis <sdecugis@nict.go.jp>
parents: 238
diff changeset
49 # Diameter applications
a857024cb48b Ported the RADIUS/Diameter translation code from waaad project. Not tested yet. Gateway plugins to come later.
Sebastien Decugis <sdecugis@nict.go.jp>
parents: 238
diff changeset
50
a857024cb48b Ported the RADIUS/Diameter translation code from waaad project. Not tested yet. Gateway plugins to come later.
Sebastien Decugis <sdecugis@nict.go.jp>
parents: 238
diff changeset
51 OPTION(BUILD_APP_RADGW "Build app_radgw? (one-way RADIUS/Diameter gateway - RADIUS NAS <-> Diameter server)" OFF)
a857024cb48b Ported the RADIUS/Diameter translation code from waaad project. Not tested yet. Gateway plugins to come later.
Sebastien Decugis <sdecugis@nict.go.jp>
parents: 238
diff changeset
52 IF (BUILD_APP_RADGW)
a857024cb48b Ported the RADIUS/Diameter translation code from waaad project. Not tested yet. Gateway plugins to come later.
Sebastien Decugis <sdecugis@nict.go.jp>
parents: 238
diff changeset
53 SUBDIRS(app_radgw)
a857024cb48b Ported the RADIUS/Diameter translation code from waaad project. Not tested yet. Gateway plugins to come later.
Sebastien Decugis <sdecugis@nict.go.jp>
parents: 238
diff changeset
54 ENDIF (BUILD_APP_RADGW)
a857024cb48b Ported the RADIUS/Diameter translation code from waaad project. Not tested yet. Gateway plugins to come later.
Sebastien Decugis <sdecugis@nict.go.jp>
parents: 238
diff changeset
55
283
f433bc04eb6a Renamed module to align with distribution shiped file
Sebastien Decugis <sdecugis@nict.go.jp>
parents: 279
diff changeset
56 OPTION(BUILD_APP_ACCT "Build app_acct? (simple accounting application that stores accounting records in flat database)" OFF)
f433bc04eb6a Renamed module to align with distribution shiped file
Sebastien Decugis <sdecugis@nict.go.jp>
parents: 279
diff changeset
57 IF (BUILD_APP_ACCT)
f433bc04eb6a Renamed module to align with distribution shiped file
Sebastien Decugis <sdecugis@nict.go.jp>
parents: 279
diff changeset
58 SUBDIRS(app_acct)
f433bc04eb6a Renamed module to align with distribution shiped file
Sebastien Decugis <sdecugis@nict.go.jp>
parents: 279
diff changeset
59 ENDIF (BUILD_APP_ACCT)
f433bc04eb6a Renamed module to align with distribution shiped file
Sebastien Decugis <sdecugis@nict.go.jp>
parents: 279
diff changeset
60
392
8e260030f32c Added configuration file for app_sip and test_sip
Alexandre Westfahl <awestfahl@freediameter.net>
parents: 380
diff changeset
61 OPTION(BUILD_APP_SIP "Build app_sip? (Authentication and Authorization for Diameter SIP RFC4740)" OFF)
362
5b199400a290 Added missing pieces for app_sip
Sebastien Decugis <sdecugis@nict.go.jp>
parents: 331
diff changeset
62 IF (BUILD_APP_SIP)
5b199400a290 Added missing pieces for app_sip
Sebastien Decugis <sdecugis@nict.go.jp>
parents: 331
diff changeset
63 SUBDIRS(app_sip)
5b199400a290 Added missing pieces for app_sip
Sebastien Decugis <sdecugis@nict.go.jp>
parents: 331
diff changeset
64 ENDIF (BUILD_APP_SIP)
5b199400a290 Added missing pieces for app_sip
Sebastien Decugis <sdecugis@nict.go.jp>
parents: 331
diff changeset
65
425
0c6e50a5291d New app_diameap Diameter EAP Application
Souheil Ben Ayed <souheil@tera.ics.keio.ac.jp>
parents: 392
diff changeset
66 OPTION(BUILD_APP_DIAMEAP "Build app_diameap? (Diameter EAP Application - RFC 4072 )" OFF)
0c6e50a5291d New app_diameap Diameter EAP Application
Souheil Ben Ayed <souheil@tera.ics.keio.ac.jp>
parents: 392
diff changeset
67 IF (BUILD_APP_DIAMEAP)
0c6e50a5291d New app_diameap Diameter EAP Application
Souheil Ben Ayed <souheil@tera.ics.keio.ac.jp>
parents: 392
diff changeset
68 SUBDIRS(app_diameap)
0c6e50a5291d New app_diameap Diameter EAP Application
Souheil Ben Ayed <souheil@tera.ics.keio.ac.jp>
parents: 392
diff changeset
69 ENDIF (BUILD_APP_DIAMEAP)
8
3e143f047f78 Backup for the week-end
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff changeset
70
3e143f047f78 Backup for the week-end
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff changeset
71 ####
3e143f047f78 Backup for the week-end
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff changeset
72 # Routing extensions
3e143f047f78 Backup for the week-end
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff changeset
73
167
967e579beb64 Backup work in progress on rt_default
Sebastien Decugis <sdecugis@nict.go.jp>
parents: 161
diff changeset
74 OPTION(BUILD_RT_DEFAULT "Build rt_default? (Configurable routing rules for freeDiameter)" ON)
967e579beb64 Backup work in progress on rt_default
Sebastien Decugis <sdecugis@nict.go.jp>
parents: 161
diff changeset
75 IF (BUILD_RT_DEFAULT)
967e579beb64 Backup work in progress on rt_default
Sebastien Decugis <sdecugis@nict.go.jp>
parents: 161
diff changeset
76 SUBDIRS(rt_default)
967e579beb64 Backup work in progress on rt_default
Sebastien Decugis <sdecugis@nict.go.jp>
parents: 161
diff changeset
77 ENDIF (BUILD_RT_DEFAULT)
8
3e143f047f78 Backup for the week-end
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff changeset
78
524
bc25e91e1e3c Superseed rt_un_number with a new extension based on regexp matching
Sebastien Decugis <sdecugis@nict.go.jp>
parents: 514
diff changeset
79 OPTION(BUILD_RT_EREG "Build rt_ereg? (Configurable routing based on regexp matching of AVP values)" OFF)
bc25e91e1e3c Superseed rt_un_number with a new extension based on regexp matching
Sebastien Decugis <sdecugis@nict.go.jp>
parents: 514
diff changeset
80 IF (BUILD_RT_EREG)
bc25e91e1e3c Superseed rt_un_number with a new extension based on regexp matching
Sebastien Decugis <sdecugis@nict.go.jp>
parents: 514
diff changeset
81 SUBDIRS(rt_ereg)
bc25e91e1e3c Superseed rt_un_number with a new extension based on regexp matching
Sebastien Decugis <sdecugis@nict.go.jp>
parents: 514
diff changeset
82 ENDIF (BUILD_RT_EREG)
514
179ef7de53de New extension: load-balancing based on numerical user-name AVP values
Sebastien Decugis <sdecugis@nict.go.jp>
parents: 493
diff changeset
83
8
3e143f047f78 Backup for the week-end
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff changeset
84
3e143f047f78 Backup for the week-end
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff changeset
85 ####
3e143f047f78 Backup for the week-end
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff changeset
86 # Peers security extensions
3e143f047f78 Backup for the week-end
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff changeset
87
161
645ff1487c23 Draft for ACL white-list extension
Sebastien Decugis <sdecugis@nict.go.jp>
parents: 120
diff changeset
88 OPTION(BUILD_ACL_WL "Build acl_wl? (White-list of remote connecting peers)" ON)
645ff1487c23 Draft for ACL white-list extension
Sebastien Decugis <sdecugis@nict.go.jp>
parents: 120
diff changeset
89 IF (BUILD_ACL_WL)
645ff1487c23 Draft for ACL white-list extension
Sebastien Decugis <sdecugis@nict.go.jp>
parents: 120
diff changeset
90 SUBDIRS(acl_wl)
645ff1487c23 Draft for ACL white-list extension
Sebastien Decugis <sdecugis@nict.go.jp>
parents: 120
diff changeset
91 ENDIF (BUILD_ACL_WL)
8
3e143f047f78 Backup for the week-end
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff changeset
92
3e143f047f78 Backup for the week-end
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff changeset
93
254
a857024cb48b Ported the RADIUS/Diameter translation code from waaad project. Not tested yet. Gateway plugins to come later.
Sebastien Decugis <sdecugis@nict.go.jp>
parents: 238
diff changeset
94
8
3e143f047f78 Backup for the week-end
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff changeset
95 ####
254
a857024cb48b Ported the RADIUS/Diameter translation code from waaad project. Not tested yet. Gateway plugins to come later.
Sebastien Decugis <sdecugis@nict.go.jp>
parents: 238
diff changeset
96 # Debug & test extensions
8
3e143f047f78 Backup for the week-end
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff changeset
97
120
d7acdc46134d Renamed several extensions
Sebastien Decugis <sdecugis@nict.go.jp>
parents: 118
diff changeset
98 OPTION(BUILD_DBG_MONITOR "Build dbg_monitor.fdx? (display periodical debug information on the console)" OFF)
d7acdc46134d Renamed several extensions
Sebastien Decugis <sdecugis@nict.go.jp>
parents: 118
diff changeset
99 IF (BUILD_DBG_MONITOR)
10
c5c99c73c2bf Added some extensions and functions in the daemon
Sebastien Decugis <sdecugis@nict.go.jp>
parents: 9
diff changeset
100 SUBDIRS(dbg_monitor)
120
d7acdc46134d Renamed several extensions
Sebastien Decugis <sdecugis@nict.go.jp>
parents: 118
diff changeset
101 ENDIF (BUILD_DBG_MONITOR)
10
c5c99c73c2bf Added some extensions and functions in the daemon
Sebastien Decugis <sdecugis@nict.go.jp>
parents: 9
diff changeset
102
120
d7acdc46134d Renamed several extensions
Sebastien Decugis <sdecugis@nict.go.jp>
parents: 118
diff changeset
103 OPTION(BUILD_DBG_RT "Build dbg_rt.fdx? (Routing extension for debugging the routing module)" OFF)
d7acdc46134d Renamed several extensions
Sebastien Decugis <sdecugis@nict.go.jp>
parents: 118
diff changeset
104 IF (BUILD_DBG_RT)
d7acdc46134d Renamed several extensions
Sebastien Decugis <sdecugis@nict.go.jp>
parents: 118
diff changeset
105 SUBDIRS(dbg_rt)
d7acdc46134d Renamed several extensions
Sebastien Decugis <sdecugis@nict.go.jp>
parents: 118
diff changeset
106 ENDIF (BUILD_DBG_RT)
8
3e143f047f78 Backup for the week-end
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff changeset
107
120
d7acdc46134d Renamed several extensions
Sebastien Decugis <sdecugis@nict.go.jp>
parents: 118
diff changeset
108 OPTION(BUILD_TEST_APP "Build test_app.fdx? (Testing application to send dummy message to another peer, for testing purpose only)" OFF)
d7acdc46134d Renamed several extensions
Sebastien Decugis <sdecugis@nict.go.jp>
parents: 118
diff changeset
109 IF (BUILD_TEST_APP)
d7acdc46134d Renamed several extensions
Sebastien Decugis <sdecugis@nict.go.jp>
parents: 118
diff changeset
110 SUBDIRS(test_app)
d7acdc46134d Renamed several extensions
Sebastien Decugis <sdecugis@nict.go.jp>
parents: 118
diff changeset
111 ENDIF (BUILD_TEST_APP)
8
3e143f047f78 Backup for the week-end
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
diff changeset
112
392
8e260030f32c Added configuration file for app_sip and test_sip
Alexandre Westfahl <awestfahl@freediameter.net>
parents: 380
diff changeset
113 OPTION(BUILD_TEST_SIP "Build test_sip.fdx? (Testing application to simulate Diameter-SIP client (RFC4740), for testing purpose only)" OFF)
380
6641d6f80cb6 Added test app for Diameter-SIP(client side)
Alexandre Westfahl <awestfahl@freediameter.net>
parents: 362
diff changeset
114 IF (BUILD_TEST_SIP)
6641d6f80cb6 Added test app for Diameter-SIP(client side)
Alexandre Westfahl <awestfahl@freediameter.net>
parents: 362
diff changeset
115 SUBDIRS(test_sip)
6641d6f80cb6 Added test app for Diameter-SIP(client side)
Alexandre Westfahl <awestfahl@freediameter.net>
parents: 362
diff changeset
116 ENDIF (BUILD_TEST_SIP)
6641d6f80cb6 Added test app for Diameter-SIP(client side)
Alexandre Westfahl <awestfahl@freediameter.net>
parents: 362
diff changeset
117
304
ad3c46016584 Added install directives for cmake; also allow default directory to seek for extensions and configuration files
Sebastien Decugis <sdecugis@nict.go.jp>
parents: 283
diff changeset
118 # The following extension have very little use except for specific tests, so we disable them except in Debug configurations.
ad3c46016584 Added install directives for cmake; also allow default directory to seek for extensions and configuration files
Sebastien Decugis <sdecugis@nict.go.jp>
parents: 283
diff changeset
119 IF (CMAKE_BUILD_TYPE MATCHES "Debug")
ad3c46016584 Added install directives for cmake; also allow default directory to seek for extensions and configuration files
Sebastien Decugis <sdecugis@nict.go.jp>
parents: 283
diff changeset
120 OPTION(BUILD_SAMPLE "Build sample.fdx? (Simple extension to demonstrate extension mechanism, for developpers only)" OFF)
ad3c46016584 Added install directives for cmake; also allow default directory to seek for extensions and configuration files
Sebastien Decugis <sdecugis@nict.go.jp>
parents: 283
diff changeset
121 IF (BUILD_SAMPLE)
ad3c46016584 Added install directives for cmake; also allow default directory to seek for extensions and configuration files
Sebastien Decugis <sdecugis@nict.go.jp>
parents: 283
diff changeset
122 SUBDIRS(_sample)
ad3c46016584 Added install directives for cmake; also allow default directory to seek for extensions and configuration files
Sebastien Decugis <sdecugis@nict.go.jp>
parents: 283
diff changeset
123 ENDIF (BUILD_SAMPLE)
ad3c46016584 Added install directives for cmake; also allow default directory to seek for extensions and configuration files
Sebastien Decugis <sdecugis@nict.go.jp>
parents: 283
diff changeset
124
ad3c46016584 Added install directives for cmake; also allow default directory to seek for extensions and configuration files
Sebastien Decugis <sdecugis@nict.go.jp>
parents: 283
diff changeset
125 OPTION(BUILD_TEST_ACCT "Build test_acct.fdx? (Receive Accounting-Requests and display the data, but no storage)" OFF)
ad3c46016584 Added install directives for cmake; also allow default directory to seek for extensions and configuration files
Sebastien Decugis <sdecugis@nict.go.jp>
parents: 283
diff changeset
126 IF (BUILD_TEST_ACCT)
ad3c46016584 Added install directives for cmake; also allow default directory to seek for extensions and configuration files
Sebastien Decugis <sdecugis@nict.go.jp>
parents: 283
diff changeset
127 SUBDIRS(test_acct)
ad3c46016584 Added install directives for cmake; also allow default directory to seek for extensions and configuration files
Sebastien Decugis <sdecugis@nict.go.jp>
parents: 283
diff changeset
128 ENDIF (BUILD_TEST_ACCT)
ad3c46016584 Added install directives for cmake; also allow default directory to seek for extensions and configuration files
Sebastien Decugis <sdecugis@nict.go.jp>
parents: 283
diff changeset
129
ad3c46016584 Added install directives for cmake; also allow default directory to seek for extensions and configuration files
Sebastien Decugis <sdecugis@nict.go.jp>
parents: 283
diff changeset
130 OPTION(BUILD_TEST_RT_ANY "Build test_rt_any.fdx? (Routing extension randomly sending message to any peer available, for testing purpose only)" OFF)
ad3c46016584 Added install directives for cmake; also allow default directory to seek for extensions and configuration files
Sebastien Decugis <sdecugis@nict.go.jp>
parents: 283
diff changeset
131 IF (BUILD_TEST_RT_ANY)
ad3c46016584 Added install directives for cmake; also allow default directory to seek for extensions and configuration files
Sebastien Decugis <sdecugis@nict.go.jp>
parents: 283
diff changeset
132 SUBDIRS(test_rt_any)
ad3c46016584 Added install directives for cmake; also allow default directory to seek for extensions and configuration files
Sebastien Decugis <sdecugis@nict.go.jp>
parents: 283
diff changeset
133 ENDIF (BUILD_TEST_RT_ANY)
ad3c46016584 Added install directives for cmake; also allow default directory to seek for extensions and configuration files
Sebastien Decugis <sdecugis@nict.go.jp>
parents: 283
diff changeset
134 ENDIF (CMAKE_BUILD_TYPE MATCHES "Debug")
ad3c46016584 Added install directives for cmake; also allow default directory to seek for extensions and configuration files
Sebastien Decugis <sdecugis@nict.go.jp>
parents: 283
diff changeset
135
"Welcome to our mercurial repository"