Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compile order of ASN.1 files #17

Merged
merged 6 commits into from
Jan 12, 2023
Merged

Conversation

sebastiw
Copy link
Collaborator

Make it possible to compile ASN.1s that are dependent on other ASN.1s
but would be compiled at a later stage due to the name or directory.

Example

  {compile_order, [{file, "etsi_ETR091_ed1_9307/MobileDomainDefinitions.asn1"},
                   {dir, "itu-t_X.880_9407"},
                   {dir, "itu-t_Q.773_9706"},
                   {dir, "ts29.002-v17.2.0"},
                   {wildcard, "**/*.asn1"}
                  ]}

Many of the ASN.1 files here depend on MobileDomainDefinitions, and ts29.002 depend on Q.773 which depend on X.880.
You get weird errors if they are not compiled in the right order.

Make it possible to compile ASN.1s that are dependent on other ASN.1s
but would be compiled at a later stage due to the name or directory.
@sebastiw
Copy link
Collaborator Author

sebastiw commented Jan 5, 2023

Ping @knusbaum

@knusbaum
Copy link
Owner

Code and documentation looks good.

Thanks for the contribution, @sebastiw. I will try and publish this within a week.

@knusbaum knusbaum merged commit f866d26 into knusbaum:master Jan 12, 2023
@sebastiw sebastiw deleted the compile-order branch August 14, 2023 10:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants