view extensions/rt_deny_by_size/CMakeLists.txt @ 1521:996823ef481c

Rename 3GPP MBMS-Flag (931) to MBMS-Flags Note: 3GPP TS 29.061 table 20.5a.1 row MBMS-Flag (931) has incorrect name and should be "MBMS-Flags" per clause 20.5a.9. Fix: MBMS-Flag (931) renamed to MBMS-Flags (931).
author Luke Mewburn <luke@mewburn.net>
date Fri, 17 Apr 2020 14:21:19 +1000
parents daf61e573fee
children
line wrap: on
line source

# The rt_deny_by_size extension
PROJECT("Routing extension to deny messages that are over a particular size" C)

# Parser files
BISON_FILE(rt_deny_by_size_conf.y)
FLEX_FILE(rt_deny_by_size_conf.l)
SET_SOURCE_FILES_PROPERTIES(lex.rt_deny_by_size_conf.c rt_deny_by_size_conf.tab.c PROPERTIES COMPILE_FLAGS "-I ${CMAKE_CURRENT_SOURCE_DIR}")

# List of source files
SET( RT_DENY_BY_SIZE_SRC
	rt_deny_by_size.c
	rt_deny_by_size.h
	lex.rt_deny_by_size_conf.c
	rt_deny_by_size_conf.tab.c
	rt_deny_by_size_conf.tab.h
)

INCLUDE_DIRECTORIES(${CMAKE_CURRENT_BINARY_DIR})

# Compile these files as a freeDiameter extension
FD_ADD_EXTENSION(rt_deny_by_size ${RT_DENY_BY_SIZE_SRC})

####
## INSTALL section ##

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