Hi everyone,
I’m trying to achieve something relatively simple:
I have a C wrapper around C++ code that is built with CMake. So, I have a set
of static libraries (.a files) and one header file.
I’m trying to create a Swift Package that contains those files, so I can
include them in a project.
I made a module.modulemap:
module FinBar {
header "fin_bar.h"
link finbar
export *
}
swift build fails as it cannot find the library to link it.
Any suggestions?
Thanks,
Evtim_______________________________________________
swift-users mailing list
[email protected]
https://lists.swift.org/mailman/listinfo/swift-users