Mercurial > hg > freeDiameter
view cmake/Modules/GetVersionWithHg.cmake @ 1535:00278a2c5b90
dict_dcca_3gpp: update rules per Rel-15 updates
Update rules per 3GPP TS 29.212 V15.9.0 (2019-12):
- QoS-Information
Update rules per 3GPP TS 32.299 V15.7.0 (2019-06):
- Application-Server-Information
- IMS-Information
- MMS-Information
- PS-Information
- Service-Information
- SMS-Information
author | Luke Mewburn <luke@mewburn.net> |
---|---|
date | Mon, 20 Apr 2020 13:40:25 +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})