Commit 35d5c432 authored by Robert Schmidt's avatar Robert Schmidt

Always trigger ASN.1 compilation at beginning

parent 34424c77
...@@ -362,13 +362,20 @@ endif() ...@@ -362,13 +362,20 @@ endif()
################################################## ##################################################
# ASN.1 grammar C code generation & dependencies # # ASN.1 grammar C code generation & dependencies #
################################################## ##################################################
# A difficulty: asn1c generates C code of a un-predictable list of files # this custom target regroups all ASN.1 generation/compilation targets
# so, generate the c from asn1c once at cmake run time # add_custom_target is always considered out-of-date, and will always force the
# So, if someone modify the asn.1 source file in such as way that it will create # generation of all ASN.1 definitions
# (so creating new asn.1 objects instead of modifying the object attributes) add_custom_target(asn1)
# New C code source file, cmake must be re-run (instead of re-running make only) add_dependencies(asn1
############# asn1_lte_rrc
set(asn1_generated_dir ${OPENAIR_BIN_DIR}) asn1_nr_rrc
asn1_s1ap
asn1_ngap
asn1_m2ap
asn1_m3ap
asn1_x2ap
asn1_f1ap
asn1_lpp)
# RRC # RRC
###### ######
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment