Open klauer opened 5 years ago
We can pragma the GVL in the released library. Perhaps it should be prefixed by something like $(IOC):Versions:LibraryName
? (@ZLLentz @slacAWallace ?)
I'm happy to pragma the released library GVLs. Does that propagate to the released library? I'll check really quick because I need to do a re-release of one of my libs.
Also related: https://github.com/slaclab/pytmc/issues/132
The version is actually stored in a struct. Is there a way to pytmc one element of a struct? (In this case, the sVersion
attribute)
(side-note: pytmc pragma @(IOC):ProjectVersion
(@ -> $ conversion happens in pytmc) in the GVL)
If we wait until tc_release to inject this pragma, the tmc file does not get rebuilt before the tag. We need to do it earlier.
That's absolutely correct. Back to the drawing board...
What is the process to ensure that the library version number is readable in EPICS (presumably starting with the usage of pytmc pragmas)?