-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update doc with swift version and inspiration link
- Loading branch information
1 parent
ce0fd40
commit a47af12
Showing
1 changed file
with
3 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
# swift-cpp-package | ||
Playground project for writing Swift packages which use C++ code | ||
Playground project for writing Swift packages which use C++ code. Based on instructions at http://ankit.im/swift/2016/05/21/creating-objc-cpp-packages-with-swift-package-manager/#a-package-with-cpp-and-swift | ||
|
||
# Prerequesites | ||
- [Swift 3](https://swift.org/download/) | ||
- [Swift 4](https://swift.org/download/) | ||
|
||
# Build | ||
`swift build` | ||
|
||
# Run | ||
`.build/debug/swift-exec` | ||
`.build/debug/swift-exec` (compiled from [Sources/swift-exec/main.swift](https://github.com/itsravenous/swift-cpp-package/blob/master/Sources/swift-exec/main.swift)) |