An open API service indexing awesome lists of open source software.

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++.

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
```