mouse07410 / asn1c

The ASN.1 Compiler
http://lionet.info/asn1c/
BSD 2-Clause "Simplified" License
97 stars 71 forks source link

Add version info to binary and generated sources #130

Closed gatopeich closed 1 year ago

gatopeich commented 1 year ago

asn1c identifies itself and its generated sources with the latest release/tag name, commit hash, and date of the last commit:

$ asn1c -v
ASN.1 Compiler, v2023.5-0-g47a234a0-2023-05-18
Copyright (c) 2003-2017 Lev Walkin <vlm@lionet.info> and contributors.

And in the C sources:

/*
 * Generated by asn1c-v2023.5-0-g47a234a0-2023-05-18 (https://github.com/gatopeich/asn1c)
 * From ASN.1 module "F1AP-Containers"
 *  found in "f1ap-v15.10.asn"
 */

I am not eager to direct people to my Github account but not sure how to handle such thing in a PR.

gatopeich commented 1 year ago

I have some.improvements to.do still...