view extensions/dbg_dict_dump_json/CMakeLists.txt @ 1519:64191a7142ce

Add 3GPP TS 29.389 V15.1.0 (2019-09) Add AVPs: - V2X-Authorization-Data, Grouped, code 4700, section 6.3.2 - V2X-Permission-in-VPLMN, Unsigned32, code 4701, section 6.3.3 - V2X-Application-Server, Grouped, code 4702, section 6.3.4 Fix: All AVPs were missing M and V; assume MUST for both.
author Luke Mewburn <luke@mewburn.net>
date Thu, 09 Apr 2020 10:54:52 +1000
parents 75b6ec7c70b3
children
line wrap: on
line source

PROJECT("Dictionary dump to JSON extension" C)
FD_ADD_EXTENSION(dbg_dict_dump_json dbg_dict_dump_json.cc)

# sneakily uses dictionary-internal.h
INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}/../../libfdproto)

INCLUDE(FindPkgConfig)

# Uses JSONCPP to write JSON files
PKG_CHECK_MODULES(JSONCPP REQUIRED jsoncpp)
INCLUDE_DIRECTORIES(${JSONCPP_INCLUDE_DIRS})
LINK_DIRECTORIES(${JSONCPP_LIBDIR})
TARGET_LINK_LIBRARIES(dbg_dict_dump_json ${JSONCPP_LIBRARIES})

####
## INSTALL section ##

INSTALL(TARGETS dbg_dict_dump_json
	LIBRARY DESTINATION ${INSTALL_EXTENSIONS_SUFFIX}
	COMPONENT freeDiameter-debug-tools)

"Welcome to our mercurial repository"