asn1c: use better version of asn1c
We don't work much on asn1c. The version we use has several bugs. There is an active community out there that fixes bugs and improves asn1c. Let's use their version.
This commit is contained in:
@@ -1,26 +1,60 @@
|
||||
set(M3AP_GRAMMAR ASN1/m3ap-14.0.0.asn)
|
||||
|
||||
set(m3ap_source
|
||||
ANY_aper.c
|
||||
ANY.c
|
||||
ANY_uper.c
|
||||
ANY_xer.c
|
||||
aper_decoder.c
|
||||
aper_encoder.c
|
||||
aper_opentype.c
|
||||
aper_support.c
|
||||
asn_application.c
|
||||
asn_bit_data.c
|
||||
asn_codecs_prim.c
|
||||
asn_codecs_prim_xer.c
|
||||
asn_internal.c
|
||||
asn_random_fill.c
|
||||
asn_SEQUENCE_OF.c
|
||||
asn_SET_OF.c
|
||||
ber_decoder.c
|
||||
ber_tlv_length.c
|
||||
ber_tlv_tag.c
|
||||
BIT_STRING.c
|
||||
BIT_STRING_print.c
|
||||
BIT_STRING_rfill.c
|
||||
BIT_STRING_uper.c
|
||||
BIT_STRING_xer.c
|
||||
constraints.c
|
||||
constr_CHOICE_aper.c
|
||||
constr_CHOICE.c
|
||||
constr_CHOICE_print.c
|
||||
constr_CHOICE_rfill.c
|
||||
constr_CHOICE_uper.c
|
||||
constr_CHOICE_xer.c
|
||||
constr_SEQUENCE_aper.c
|
||||
constr_SEQUENCE.c
|
||||
constr_SEQUENCE_OF_aper.c
|
||||
constr_SEQUENCE_OF.c
|
||||
constr_SEQUENCE_OF_uper.c
|
||||
constr_SEQUENCE_OF_xer.c
|
||||
constr_SEQUENCE_print.c
|
||||
constr_SEQUENCE_rfill.c
|
||||
constr_SEQUENCE_uper.c
|
||||
constr_SEQUENCE_xer.c
|
||||
constr_SET_OF_aper.c
|
||||
constr_SET_OF.c
|
||||
constr_SET_OF_print.c
|
||||
constr_SET_OF_rfill.c
|
||||
constr_SET_OF_uper.c
|
||||
constr_SET_OF_xer.c
|
||||
constr_TYPE.c
|
||||
der_encoder.c
|
||||
GraphicString.c
|
||||
INTEGER_aper.c
|
||||
INTEGER.c
|
||||
INTEGER_print.c
|
||||
INTEGER_rfill.c
|
||||
INTEGER_uper.c
|
||||
INTEGER_xer.c
|
||||
M3AP_Absolute-Time-ofMBMS-Data.c
|
||||
M3AP_AllocationAndRetentionPriority.c
|
||||
M3AP_BitRate.c
|
||||
@@ -37,6 +71,7 @@ set(m3ap_source
|
||||
M3AP_ErrorIndication.c
|
||||
M3AP_EUTRANCellIdentifier.c
|
||||
M3AP_ExtendedMCE-ID.c
|
||||
M3AP_EXTERNAL.c
|
||||
M3AP_GBR-QosInformation.c
|
||||
M3AP_Global-MCE-ID.c
|
||||
M3AP_GTP-TEID.c
|
||||
@@ -105,16 +140,40 @@ set(m3ap_source
|
||||
M3AP_TriggeringMessage.c
|
||||
M3AP_TypeOfError.c
|
||||
M3AP_UnsuccessfulOutcome.c
|
||||
NativeEnumerated_aper.c
|
||||
NativeEnumerated.c
|
||||
NativeEnumerated_uper.c
|
||||
NativeEnumerated_xer.c
|
||||
NativeInteger_aper.c
|
||||
NativeInteger.c
|
||||
NativeInteger_print.c
|
||||
NativeInteger_rfill.c
|
||||
NativeInteger_uper.c
|
||||
NativeInteger_xer.c
|
||||
ObjectDescriptor.c
|
||||
OBJECT_IDENTIFIER.c
|
||||
OBJECT_IDENTIFIER_print.c
|
||||
OBJECT_IDENTIFIER_rfill.c
|
||||
OBJECT_IDENTIFIER_xer.c
|
||||
OCTET_STRING_aper.c
|
||||
OCTET_STRING.c
|
||||
OCTET_STRING_print.c
|
||||
OCTET_STRING_rfill.c
|
||||
OCTET_STRING_uper.c
|
||||
OCTET_STRING_xer.c
|
||||
OPEN_TYPE_aper.c
|
||||
OPEN_TYPE.c
|
||||
OPEN_TYPE_uper.c
|
||||
OPEN_TYPE_xer.c
|
||||
per_decoder.c
|
||||
per_encoder.c
|
||||
per_opentype.c
|
||||
per_support.c
|
||||
PrintableString.c
|
||||
uper_decoder.c
|
||||
uper_encoder.c
|
||||
uper_opentype.c
|
||||
uper_support.c
|
||||
xer_decoder.c
|
||||
xer_encoder.c
|
||||
xer_support.c
|
||||
@@ -122,17 +181,21 @@ set(m3ap_source
|
||||
|
||||
set(m3ap_headers
|
||||
ANY.h
|
||||
aper_decoder.h
|
||||
aper_encoder.h
|
||||
aper_opentype.h
|
||||
aper_support.h
|
||||
asn_application.h
|
||||
asn_bit_data.h
|
||||
asn_codecs.h
|
||||
asn_codecs_prim.h
|
||||
asn_config.h
|
||||
asn_internal.h
|
||||
asn_ioc.h
|
||||
asn_random_fill.h
|
||||
asn_SEQUENCE_OF.h
|
||||
asn_SET_OF.h
|
||||
asn_system.h
|
||||
ber_decoder.h
|
||||
ber_tlv_length.h
|
||||
ber_tlv_tag.h
|
||||
BIT_STRING.h
|
||||
@@ -142,7 +205,7 @@ set(m3ap_headers
|
||||
constr_SEQUENCE_OF.h
|
||||
constr_SET_OF.h
|
||||
constr_TYPE.h
|
||||
der_encoder.h
|
||||
GraphicString.h
|
||||
INTEGER.h
|
||||
M3AP_Absolute-Time-ofMBMS-Data.h
|
||||
M3AP_AllocationAndRetentionPriority.h
|
||||
@@ -161,6 +224,7 @@ set(m3ap_headers
|
||||
M3AP_ErrorIndication.h
|
||||
M3AP_EUTRANCellIdentifier.h
|
||||
M3AP_ExtendedMCE-ID.h
|
||||
M3AP_EXTERNAL.h
|
||||
M3AP_GBR-QosInformation.h
|
||||
M3AP_Global-MCE-ID.h
|
||||
M3AP_GTP-TEID.h
|
||||
@@ -231,6 +295,7 @@ set(m3ap_headers
|
||||
M3AP_UnsuccessfulOutcome.h
|
||||
NativeEnumerated.h
|
||||
NativeInteger.h
|
||||
ObjectDescriptor.h
|
||||
OBJECT_IDENTIFIER.h
|
||||
OCTET_STRING.h
|
||||
OPEN_TYPE.h
|
||||
@@ -239,6 +304,10 @@ set(m3ap_headers
|
||||
per_opentype.h
|
||||
per_support.h
|
||||
PrintableString.h
|
||||
uper_decoder.h
|
||||
uper_encoder.h
|
||||
uper_opentype.h
|
||||
uper_support.h
|
||||
xer_decoder.h
|
||||
xer_encoder.h
|
||||
xer_support.h
|
||||
|
||||
@@ -17,7 +17,7 @@ else()
|
||||
endif()
|
||||
|
||||
add_custom_command(OUTPUT ${m3ap_source} ${m3ap_headers}
|
||||
COMMAND ASN1C_PREFIX=M3AP_ asn1c -gen-PER -no-gen-OER -fcompound-names -no-gen-example -fno-include-deps -D ${CMAKE_CURRENT_BINARY_DIR} ${CMAKE_CURRENT_SOURCE_DIR}/${M3AP_GRAMMAR}
|
||||
COMMAND ASN1C_PREFIX=M3AP_ asn1c -gen-APER -no-gen-BER -no-gen-JER -no-gen-OER -gen-UPER -fcompound-names -no-gen-example -fno-include-deps -D ${CMAKE_CURRENT_BINARY_DIR} ${CMAKE_CURRENT_SOURCE_DIR}/${M3AP_GRAMMAR}
|
||||
DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/${M3AP_GRAMMAR}
|
||||
COMMENT "Generating M3AP source files from ${CMAKE_CURRENT_SOURCE_DIR}/${M3AP_GRAMMAR}"
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user