Mercurial > hg > freeDiameter
view cmake/Modules/GetVersionWithHg.cmake @ 1512:f98e2b6e8f42
Add 3GPP TS 29.368 V15.1.0 (2019-09)
Add AVPs:
- Device-Action, Grouped, code 3001, section 6. 4.2
- Device-Notification, Grouped, code 3002, section 6.4.3
- Trigger-Data, Grouped, code 3003, section 6.4.4
- Payload, OctetString, code 3004, section 6.4.5
- Action-Type, Enumerated, code 3005, section 6.4.6
- Priority-Indication, Enumerated, code 3006, section 6.4.7
- Reference-Number, Unsigned32, code 3007, section 6.4.8
- Request-Status, Enumerated, code 3008, section 6.4.9
- Delivery-Outcome, Enumerated, code 3009, section 6.4.10
- Application-Port-Identifier, Unsigned32, code 3010, section 6.4.11
- Old-Reference-Number, Unsigned32, code 3011, section 6.4.12
- Feature-Supported-In-Final-Target, Unsigned32, code 3012, section 6.4.13
author | Luke Mewburn <luke@mewburn.net> |
---|---|
date | Tue, 07 Apr 2020 16:04:36 +1000 |
parents | 9c9f2b75bf95 |
children |
line wrap: on
line source
# This file is called at build time. It regenerates the version.h file based on the hg version. EXECUTE_PROCESS( COMMAND ${HGCOMMAND} id -i WORKING_DIRECTORY ${CMAKE_SOURCE_DIR} RESULT_VARIABLE reshash OUTPUT_VARIABLE verhash ERROR_QUIET OUTPUT_STRIP_TRAILING_WHITESPACE) EXECUTE_PROCESS( COMMAND ${HGCOMMAND} id -n WORKING_DIRECTORY ${CMAKE_SOURCE_DIR} RESULT_VARIABLE resval OUTPUT_VARIABLE verval ERROR_QUIET OUTPUT_STRIP_TRAILING_WHITESPACE) if (reshash EQUAL 0) SET(FD_PROJECT_VERSION_HG "${verval}(${verhash})") message(STATUS "Source version: ${FD_PROJECT_VERSION_HG}") endif (reshash EQUAL 0) CONFIGURE_FILE(${SRC} ${DST})