This is a quick hack to offer TPCircularBuffer via SPM. I had to reorganize the sources to align with how the C libraries should be distributed wrt/ sources and public headers and also add a custom module map to properly export all methods offered by the library.
It works great for my purposes so that I can get rid of including TPCircularBuffer as a git submodule, but I am in no way suggesting that this is the only right official way to bring SPM support in.
I have accordingly modified the podspec, but since I never used cocoapods before I am not sure if it is even working :)
This is a quick hack to offer TPCircularBuffer via SPM. I had to reorganize the sources to align with how the C libraries should be distributed wrt/ sources and public headers and also add a custom module map to properly export all methods offered by the library.
It works great for my purposes so that I can get rid of including TPCircularBuffer as a git submodule, but I am in no way suggesting that this is the only right official way to bring SPM support in.
I have accordingly modified the podspec, but since I never used cocoapods before I am not sure if it is even working :)
just my .2 cents, Martin