view libfdproto/CMakeLists.txt @ 1486:eeb5706333c3

Update to 3GPP TS 29.061 V15.5.0 (2018-12) Add AVPs: - TWAN-Identifier, OctetString, code 29, section 16.4.7 - 3GPP-User-Location-Info-Time, OctetString, code 30, section 16.4.7 - 3GPP-Secondary-RAT-Usage, OctetString, code 31, section 16.4.7 - MBMS-Access-Indicator, Enumerated, code 923, section 20.5a.1 - MBMS-GW-SSM-IP-Address, OctetString, code 924, section 20.5a.2 - MBMS-GW-SSM-IPv6-Address, OctetString, code 925, section 20.5a.3 - MBMS-BMSC-SSM-UDP-Port, OctetString, code 926, section 20.5a.4 - MBMS-GW-UDP-Port, OctetString, code 927, section 20.5a.5 - MBMS-GW-UDP-Port-Indicator, Enumerated, code 928, section 20.5a.6 - MBMS-Data-Transfer-Start, Unsigned64, code 929, section 20.5a.7 - MBMS-Data-Transfer-Stop, Unsigned64, code 930, section 20.5a.8 - MBMS-Flag, Unsigned32, code 931, section 20.5a.9 - Restart-Counter, Unsigned32, code 932, section 20.5a.10 - Diagnostic-Info, Unsigned32, code 933, section 20.5a.11 - MBMS-Cell-List, OctetString, code 934, section 20.5a.12 Update notes and comments to reflect current style.
author Luke Mewburn <luke@mewburn.net>
date Fri, 27 Mar 2020 10:30:27 +1100
parents ecb844d6d87d
children 9084c6f94a0a
line wrap: on
line source

# Name of the subproject
Project("libfdproto" C)

# Configuration for newer cmake
cmake_policy(VERSION 2.6)
if (POLICY CMP0022)
	cmake_policy(SET CMP0022 OLD)
endif (POLICY CMP0022)

# List of source files for the library
SET(LFDPROTO_SRC
	fdproto-internal.h
	dictionary.c
	dictionary_functions.c
	dispatch.c
	fifo.c
	init.c
	lists.c
	log.c
	messages.c
	ostr.c
	portability.c
	rt_data.c
	sessions.c
	utils.c
	version.c
	)


# Save the list of files for testcases in the core's directory
SET(LFDPROTO_SRC ${LFDPROTO_SRC} PARENT_SCOPE)

# Include path
INCLUDE_DIRECTORIES(${LFDPROTO_INCLUDES})

# Build as a shared library
ADD_LIBRARY(libfdproto SHARED ${LFDPROTO_SRC})

ADD_DEPENDENCIES(libfdproto version_information)

# Avoid the liblib name, and set the version
SET_TARGET_PROPERTIES(libfdproto PROPERTIES 
	OUTPUT_NAME "fdproto"
	SOVERSION ${FD_PROJECT_VERSION_API}
	VERSION ${FD_PROJECT_VERSION_MAJOR}.${FD_PROJECT_VERSION_MINOR}.${FD_PROJECT_VERSION_REV}
	LINK_INTERFACE_LIBRARIES "${LFDPROTO_LINK_INTERFACES}")

# The library itself needs other libraries 
TARGET_LINK_LIBRARIES(libfdproto ${LFDPROTO_LIBS})


####
## INSTALL section ##

INSTALL(TARGETS libfdproto
	LIBRARY DESTINATION ${INSTALL_LIBRARY_SUFFIX}
	COMPONENT freeDiameter-common)

"Welcome to our mercurial repository"