6 ms·
Thanks for sharing a simple setup that avoids SwiftPM. It is nice to have more options. Swift has to shed the perception that it only works on apple platforms.
by v1sea 1y ago
Thanks for sharing a simple setup that avoids SwiftPM. It is nice to have more options.
Swift has to shed the perception that it only works on apple platforms. I've found the the C++ interop to be pretty good for my computer vision use cases.
- pusewicz 1y agoYeah, it's nice to use a cross-platform, well established tool to actually build a Swift project.
- anextio 1y agoCMake support started as a community project but was adopted officially by Apple after they started adopting some Swift in the compiler codebase – an extremely large and complex CMake project – so the support is extremely robust now.
- _mlbt 1y agoWhat’s the advantage to avoiding SwiftPM? Is it just for simplicity or are there other advantages?
- pusewicz 1y agoThe build process requires you to have a C library built with its own dependencies. I don’t think it’s very common to do that with SwiftPM, hence it would require extra work for it to happen.