You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Just as it's useful to support multiple possible lib binaries (where the first one found is used), it would be useful to support multiple sets of headers. This is particularly useful when one vendor repackages another's software and renames the headers/libs, as in mabuchilab/Instrumental#26.
I think the most natural way to do this right now is to allow a tuple of "header dicts" under each platform, rather than only a single header dict. This would be less confusing than using nested tuples of header names within a single header dict, since there's less ordering ambiguity. This roughly mirrors how specifying multiple libs works, too. It also maps well onto the problem described above, where you will want to look within a separate list of directories, depending which vendor's software you have installed: i.e. you should only look for Thorlabs headers within its directories, and IDS headers within its directories.
Just as it's useful to support multiple possible lib binaries (where the first one found is used), it would be useful to support multiple sets of headers. This is particularly useful when one vendor repackages another's software and renames the headers/libs, as in mabuchilab/Instrumental#26.
I think the most natural way to do this right now is to allow a tuple of "header dicts" under each platform, rather than only a single header dict. This would be less confusing than using nested tuples of header names within a single header dict, since there's less ordering ambiguity. This roughly mirrors how specifying multiple libs works, too. It also maps well onto the problem described above, where you will want to look within a separate list of directories, depending which vendor's software you have installed: i.e. you should only look for Thorlabs headers within its directories, and IDS headers within its directories.
Here's an example to demonstrate:
The text was updated successfully, but these errors were encountered: