<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><br class=""><div><br class=""><blockquote type="cite" class=""><div class="">On Dec 1, 2017, at 7:16 AM, Geordie J via swift-build-dev &lt;<a href="mailto:swift-build-dev@swift.org" class="">swift-build-dev@swift.org</a>&gt; wrote:</div><br class="Apple-interchange-newline"><div class=""><span style="font-family: SourceCodePro-Regular; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">I do appreciate the suggestion though: I will play around with symlinking the various dependencies into the root project’s Sources directory and see if I can get SPM to build them all at that root level without destroying each individual repo’s Package.swift and structure. Although this, again, is a hack, it sounds like the most promising solution for now.</span></div></blockquote></div><br class=""><div class="">I played around with this and was able to get it to work for some personal projects I've been working on. I have a Vapor app that depends on 2 libraries I made. I'm using the clowder tool I wrote to manage cloning the repositories into the correct location, but you should be able to easily get it to work via symlinks.</div><div class=""><br class=""></div><div class="">Here's the global Package.swift:&nbsp;<a href="https://github.com/polka-dot-cat/BugHub-Global/blob/master/Package.swift" class="">https://github.com/polka-dot-cat/BugHub-Global/blob/master/Package.swift</a></div><div class="">Here's the clowder.yaml config file:&nbsp;<a href="https://github.com/polka-dot-cat/BugHub-clowder/blob/master/versions/global/clowder.yaml" class="">https://github.com/polka-dot-cat/BugHub-clowder/blob/master/versions/global/clowder.yaml</a></div><div class=""><br class=""></div><div class="">Here are the commands to clone everything and build:</div><div class=""><br class=""></div><div class="">```</div><div class="">mkdir BugHub</div><div class="">cd BugHub</div><div class="">clowder init <a href="mailto:git@github.com" class="">git@github.com</a>:polka-dot-cat/BugHub-clowder.git</div><div class="">clowder link -v global &nbsp;# This links the custom clowder.yaml version containing this specific setup</div><div class="">clowder herd</div><div class="">cd BugHub-Global</div><div class="">swift build</div><div class="">```</div><div class=""><br class=""></div><div class="">It successfully built for me and I was still able to maintain the Package.swift files in the individual repositories for when I want to build them there. The Vapor app depends on some resources, so I'd still have to tweak things to get everything working correctly, but I mainly just wanted to see if I could get it to build. It's definitely a bit of a hack, but hopefully this helps.</div></body></html>