Mercurial > hg > freeDiameter
annotate cmake/Modules/CMakeUserUseBison.cmake @ 1515:8430dabbc637
Add 3GPP TS 29.109 V15.0.0 (2017-06)
Add AVPs:
- GBA-UserSecSettings, OctetString, code 400, section 6.3.1.1
- Transaction-Identifier, OctetString, code 401, section 6.3.1.2
- NAF-Id, OctetString, code 402, section 6.3.1.3
- GAA-Service-Identifier, OctetString, code 403, section 6.3.1.4
- Key-ExpiryTime, Time, code 404, section 6.3.1.5
- ME-Key-Material, OctetString, code 405, section 6.3.1.6
- UICC-Key-Material, OctetString, code 406, section 6.3.1.7
- GBA-U-Awareness-Indicator, Enumerated, code 407, section 6.3.1.8
- BootstrapInfoCreationTime, Time, code 408, section 6.3.1.9
- GUSS-Timestamp, Time, code 409, section 6.3.1.10
- GBA-Type, Enumerated, code 410, section 6.3.1.11
- UE-Id, OctetString, code 411, section 6.3.1.12
- UE-Id-Type, Enumerated, code 412, section 6.3.1.13
- UICC-App-Label, OctetString, code 413, section 6.3.1.14
- UICC-ME, Enumerated, code 414, section 6.3.1.15
- Requested-Key-Lifetime, Time, code 415, section 6.3.1.16
- Private-Identity-Request, Enumerated, code 416, section 6.3.1.17
- GBA-Push-Info, OctetString, code 417, section 6.3.1.18
- NAF-SA-Identifier, OctetString, code 418, section 6.3.1.19
- Security-Feature-Request, OctetString, code 419, section 6.3.1.20
- Security-Feature-Response, OctetString, code 420, section 6.3.1.21
Note: 3GPP TS 29.109 table 6.1 row GBA_U-Awareness-Indicator (407)
has an underscore in the name (contrary to RFC 6733 section 4.1).
Fix: GBA_U-Awareness-Indicator (407) renamed to GBA-U-Awareness-Indicator (407).
author | Luke Mewburn <luke@mewburn.net> |
---|---|
date | Thu, 09 Apr 2020 00:34:15 +1000 |
parents | ad3c46016584 |
children |
rev | line source |
---|---|
0 | 1 # - Look for GNU Bison, the parser generator |
2 # Based off a news post from Andy Cedilnik at Kitware | |
3 # Defines the following: | |
4 # BISON_EXECUTABLE - path to the bison executable | |
5 # BISON_FILE - parse a file with bison | |
6 # BISON_PREFIX_OUTPUTS - Set to true to make BISON_FILE produce prefixed | |
7 # symbols in the generated output based on filename. | |
8 # So for ${filename}.y, you'll get ${filename}parse(), etc. | |
9 # instead of yyparse(). | |
10 # BISON_GENERATE_DEFINES - Set to true to make BISON_FILE output the matching | |
11 # .h file for a .c file. You want this if you're using | |
12 # flex. | |
13 | |
14 IF(NOT DEFINED BISON_PREFIX_OUTPUTS) | |
15 SET(BISON_PREFIX_OUTPUTS FALSE) | |
16 ENDIF(NOT DEFINED BISON_PREFIX_OUTPUTS) | |
17 | |
18 IF(NOT DEFINED BISON_GENERATE_DEFINES) | |
19 SET(BISON_GENERATE_DEFINES FALSE) | |
20 ENDIF(NOT DEFINED BISON_GENERATE_DEFINES) | |
21 | |
22 IF(NOT BISON_EXECUTABLE) | |
23 MESSAGE(STATUS "Looking for bison") | |
24 FIND_PROGRAM(BISON_EXECUTABLE bison) | |
25 IF(BISON_EXECUTABLE) | |
26 MESSAGE(STATUS "Looking for bison -- ${BISON_EXECUTABLE}") | |
27 ENDIF(BISON_EXECUTABLE) | |
304
ad3c46016584
Added install directives for cmake; also allow default directory to seek for extensions and configuration files
Sebastien Decugis <sdecugis@nict.go.jp>
parents:
0
diff
changeset
|
28 MARK_AS_ADVANCED(BISON_EXECUTABLE) |
0 | 29 ENDIF(NOT BISON_EXECUTABLE) |
30 | |
31 IF(BISON_EXECUTABLE) | |
32 MACRO(BISON_FILE FILENAME) | |
33 GET_FILENAME_COMPONENT(PATH "${FILENAME}" PATH) | |
34 IF("${PATH}" STREQUAL "") | |
35 SET(PATH_OPT "") | |
36 ELSE("${PATH}" STREQUAL "") | |
37 SET(PATH_OPT "/${PATH}") | |
38 ENDIF("${PATH}" STREQUAL "") | |
39 GET_FILENAME_COMPONENT(HEAD "${FILENAME}" NAME_WE) | |
40 IF(NOT EXISTS "${CMAKE_CURRENT_BINARY_DIR}${PATH_OPT}") | |
41 FILE(MAKE_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}${PATH_OPT}") | |
42 ENDIF(NOT EXISTS "${CMAKE_CURRENT_BINARY_DIR}${PATH_OPT}") | |
43 IF(BISON_PREFIX_OUTPUTS) | |
44 SET(PREFIX "${HEAD}") | |
45 ELSE(BISON_PREFIX_OUTPUTS) | |
46 SET(PREFIX "yy") | |
47 ENDIF(BISON_PREFIX_OUTPUTS) | |
48 SET(OUTFILE "${CMAKE_CURRENT_BINARY_DIR}${PATH_OPT}/${HEAD}.tab.c") | |
49 IF(BISON_GENERATE_DEFINES) | |
50 SET(HEADER "${CMAKE_CURRENT_BINARY_DIR}${PATH_OPT}/${HEAD}.tab.h") | |
51 ADD_CUSTOM_COMMAND( | |
52 OUTPUT "${OUTFILE}" "${HEADER}" | |
53 COMMAND "${BISON_EXECUTABLE}" | |
54 ARGS "--name-prefix=${PREFIX}" | |
55 "--defines" | |
56 "--output-file=${OUTFILE}" | |
57 "${CMAKE_CURRENT_SOURCE_DIR}/${FILENAME}" | |
58 DEPENDS "${CMAKE_CURRENT_SOURCE_DIR}/${FILENAME}") | |
59 SET_SOURCE_FILES_PROPERTIES("${OUTFILE}" "${HEADER}" PROPERTIES GENERATED TRUE) | |
60 SET_SOURCE_FILES_PROPERTIES("${HEADER}" PROPERTIES HEADER_FILE_ONLY TRUE) | |
61 ELSE(BISON_GENERATE_DEFINES) | |
62 ADD_CUSTOM_COMMAND( | |
63 OUTPUT "${OUTFILE}" | |
64 COMMAND "${BISON_EXECUTABLE}" | |
65 ARGS "--name-prefix=${PREFIX}" | |
66 "--output-file=${OUTFILE}" | |
67 "${CMAKE_CURRENT_SOURCE_DIR}/${FILENAME}" | |
68 DEPENDS "${CMAKE_CURRENT_SOURCE_DIR}/${FILENAME}") | |
69 SET_SOURCE_FILES_PROPERTIES("${OUTFILE}" PROPERTIES GENERATED TRUE) | |
70 ENDIF(BISON_GENERATE_DEFINES) | |
71 ENDMACRO(BISON_FILE) | |
72 ENDIF(BISON_EXECUTABLE) |