https://github.com/tony-go/eat-swift-from-cpp
How to consume Swift code from C++.
https://github.com/tony-go/eat-swift-from-cpp
Last synced: 3 months ago
JSON representation
How to consume Swift code from C++.
- Host: GitHub
- URL: https://github.com/tony-go/eat-swift-from-cpp
- Owner: tony-go
- Created: 2024-04-23T21:44:02.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-04-25T12:34:12.000Z (about 1 year ago)
- Last Synced: 2025-02-04T16:17:06.389Z (5 months ago)
- Language: CMake
- Size: 12.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.markdown
Awesome Lists containing this project
README
# eat-swift-from-cpp
This is a project demonstrating how to consume Swift from C++.
## Prerequisites
Before building and running the project, you need to have the following installed on your system:
- CMake (version 3.26 or higher)
- Ninja build system
- Swift 5.9 or higher## Build
```bash
make
```## Usage
After building, you can run the executable generated to see the integration in action:
```bash
make run
```