Skip to content

Commit

Permalink
[eclipse-iceoryx#210] Add minimal README for C examples
Browse files Browse the repository at this point in the history
  • Loading branch information
elBoberido committed Jun 1, 2024
1 parent 7539424 commit 4dbd0db
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions examples/c/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# Instructions

## Build

```console
cmake -B target/lang-c .
cmake --build target/lang-c
```

## Run Examples

### Publish-Subscribe

Run in two separate terminals. Note, currently the examples run for 10 seconds.

```console
target/lang-c/examples/c/publish_subscribe/example_c_publisher
```

```console
target/lang-c/examples/c/publish_subscribe/example_c_subscriber
```

### Discovery

```console
target/lang-c/examples/c/discovery/example_c_discovery
```

0 comments on commit 4dbd0db

Please sign in to comment.