libmusicxml icon indicating copy to clipboard operation
libmusicxml copied to clipboard

Swift Package Manager support

Open richardtop opened this issue 2 years ago • 4 comments
trafficstars

richardtop avatar Oct 13 '23 17:10 richardtop

Hi Richard,

LibMusicXml is a C++ library and open source. You can directly make a framework and embed in it in your Swift project or make a Swift Package (using compiled binary).

arshiacont avatar Oct 13 '23 21:10 arshiacont

Hi, I'm interested in making this library SPM-compatible with source, i.e. without the need to precompile it.

I'll make a PR if I could make it work 😀

richardtop avatar Oct 14 '23 05:10 richardtop

Interesting.. using new C++ interop I suppose.. Looking forward.

arshiacont avatar Oct 14 '23 06:10 arshiacont

Not necessarily, we can start with just being able to build it and connect it with the SPM, so that it would be possible to call the library from some other C++ code. And that code could use some interop approaches (C, or C++, maybe Objective-C++) to provide an interface to the higher layer.

Being able to build the project with the SPM would make it more accessible for Apple developers.

richardtop avatar Oct 14 '23 17:10 richardtop