view extensions/CMakeLists.txt @ 398:11a5d67ee7d4

Split dictionary definitions by application, and added EAP definitions
author Sebastien Decugis <sdecugis@nict.go.jp>
date Tue, 02 Jun 2009 11:15:00 +0900
parents a84144eea96c
children
line wrap: on
line source

# This is the rules to make extensions for waaad.
PROJECT("waaad extensions" C)

# Set destination for extensions
SET(LIBRARY_OUTPUT_PATH ${CMAKE_CURRENT_BINARY_DIR})


###########################
# Extensions section

####
# Diameter applications
OPTION(BUILD_DICT_NASREQ "Build NASREQ (RFC4005) Dictionary definitions?" ON)
	IF (BUILD_DICT_NASREQ)
	   SUBDIRS(dict_nasreq)
	ENDIF (BUILD_DICT_NASREQ)

OPTION(BUILD_DICT_EAP "Build Diameter EAP (RFC4072) Dictionary definitions?" ON)
	IF (BUILD_DICT_EAP)
	   SUBDIRS(dict_eap)
	ENDIF (BUILD_DICT_EAP)



####
# Radius / Diameter gateway extension(s)
OPTION(BUILD_RADIUS_GW "Build radius_gw? (one-way RADIUS/Diameter gateway: RADIUS server, Diameter client)" ON)
	IF (BUILD_RADIUS_GW)
	   SUBDIRS(radius_gw)
	ENDIF (BUILD_RADIUS_GW)


####
# Routing extensions

OPTION(BUILD_RT_DEFAULT "Build rt_default? (Routing extension using Destination-Host, Destination-Realm, and static configuration)" ON)
	IF (BUILD_RT_DEFAULT)
	   SUBDIRS(rt_default)
	ENDIF (BUILD_RT_DEFAULT)


####
# Security extensions

OPTION(BUILD_SEC_NOSEC "Build sec_nosec? (Security extension allowing direct connections without encryption to specified peers)" ON)
	IF (BUILD_SEC_NOSEC)
	   SUBDIRS(sec_nosec)
	ENDIF (BUILD_SEC_NOSEC)

OPTION(BUILD_SEC_TLS_GNUTLS "Build sec_tls_gnutls? (Security extension for TLS connections, using libgnutls (LGPL))" OFF) # OFF yet because code is incomplete
	IF (BUILD_SEC_TLS_GNUTLS)
	   SUBDIRS(sec_tls_gnutls)
	ENDIF (BUILD_SEC_TLS_GNUTLS)


####
# Debug / development extensions

OPTION(BUILD_SAMPLE "Build sample? (Simple extension to demonstrate extension mechanism, for developpers only)" OFF)
	IF (BUILD_SAMPLE)
	   SUBDIRS(sample)
	ENDIF (BUILD_SAMPLE)

OPTION(BUILD_RT_ANY "Build rt_any? (Routing extension sending message to any peer available, for testing purpose only)" OFF)
	IF (BUILD_RT_ANY)
	   SUBDIRS(rt_any)
	ENDIF (BUILD_RT_ANY)

OPTION(BUILD_RT_DEBUG "Build rt_debug? (Routing extension tracing routing list, for debug purpose only)" OFF)
	IF (BUILD_RT_DEBUG)
	   SUBDIRS(rt_debug)
	ENDIF (BUILD_RT_DEBUG)

OPTION(BUILD_APP_TEST "Build app_test? (Testing application to send dummy message to another peer, for testing purpose only)" OFF)
	IF (BUILD_APP_TEST)
	   SUBDIRS(app_test)
	ENDIF (BUILD_APP_TEST)
"Welcome to our mercurial repository"