[swift-users] How to import library from same Source Layout?

Volodymyr Boichentsov sakristx at gmail.com
Tue Dec 29 05:20:42 CST 2015


I have next Source Layout

../Sources/Executable/main.swift
../Sources/Executable/classA.swift
../Sources/liba/some1.swift
../Sources/liba/some2.swift

How to include liba to Executable main.swift? 

It’s not clear from this file
https://github.com/apple/swift-package-manager/blob/master/Documentation/SourceLayouts.md <https://github.com/apple/swift-package-manager/blob/master/Documentation/SourceLayouts.md>

I’ve tried just simple import. Does not work.

P.S.: I know how to make dependency lib, but I don’t want it for my current situation.
 
Best Regards,
Volodymyr Boichentsov





-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-users/attachments/20151229/01cd31b2/attachment.html>


More information about the swift-users mailing list