Mercurial > hg > freeDiameter
view extensions/test_netemul/CMakeLists.txt @ 1504:4dff34cd2d3d
Add 3GPP TS 29.215 V15.2.0 (2019-09)
Add AVPs:
- DRA-Deployment, Enumerated, code 2206, section 5.3.7
- Multiple-BBERF-Action, Enumerated, code 2204, section 5.3.6
- Subsession-Decision-Info, Grouped, code 2200, section 5.3.1
- Subsession-Enforcement-Info, Grouped, code 2201, section 5.3.2
- Subsession-Id, Unsigned32, code 2202, section 5.3.3
- Subsession-Operation, Enumerated, code 2203, section 5.3.4
- DRA-Binding, Enumerated, code 2208, section 5.3.x
- PCRF-Address, DiameterIdentity, code 2207, section A.7.3.1.1
- UE-Local-IPv6-Prefix, OctetString, code 2205, section A.8.3.1
author | Luke Mewburn <luke@mewburn.net> |
---|---|
date | Fri, 03 Apr 2020 16:50:00 +1100 |
parents | 083317a4e947 |
children |
line wrap: on
line source
# The test_netemul extension PROJECT("Simple Diameter network emulator proxy extension (latency, PDV, duplicates)" C) # Parser files BISON_FILE(test_netemul.y) FLEX_FILE(test_netemul.l) SET_SOURCE_FILES_PROPERTIES(lex.test_netemul.c test_netemul.tab.c PROPERTIES COMPILE_FLAGS "-I ${CMAKE_CURRENT_SOURCE_DIR}") # List of source files SET( TNEMUL_SRC test_netemul.c test_netemul.h lex.test_netemul.c test_netemul.tab.c test_netemul.tab.h tne_process.c ) INCLUDE_DIRECTORIES(${CMAKE_CURRENT_BINARY_DIR}) # Compile these files as a freeDiameter extension FD_ADD_EXTENSION(test_netemul ${TNEMUL_SRC}) # math functions CHECK_FUNCTION_EXISTS (sqrt HAVE_SQRT) IF (HAVE_SQRT) SET(MATH_LIBS "") ELSE (HAVE_SQRT) CHECK_LIBRARY_EXISTS (m sqrt "" HAVE_LIBM) IF (HAVE_LIBM) SET(MATH_LIBS "-lm") ENDIF (HAVE_LIBM) ENDIF (HAVE_SQRT) TARGET_LINK_LIBRARIES(test_netemul ${MATH_LIBS}) #### ## INSTALL section ## INSTALL(TARGETS test_netemul LIBRARY DESTINATION ${INSTALL_EXTENSIONS_SUFFIX} COMPONENT freeDiameter-debug-tools)