forked from eclipse-iceoryx/iceoryx2
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[eclipse-iceoryx#210] Add minimal README for C examples
- Loading branch information
1 parent
7539424
commit 4dbd0db
Showing
1 changed file
with
28 additions
and
0 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 |
---|---|---|
@@ -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 | ||
``` |