Skip to content

Commit

Permalink
Include windows instructions in examples README.md (#190)
Browse files Browse the repository at this point in the history
Signed-off-by: ahcorde <[email protected]>
  • Loading branch information
ahcorde authored Mar 26, 2021
1 parent 7109d23 commit 2f2b229
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion examples/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,30 @@ cd ign-common/examples
mkdir build
cd build
cmake ..
```

### Ubuntu and MacOS

```bash
make
```

### Windows

```bash
cmake --build . --config Release
```

## Run

One execuable is created inside the `build` folder for each example.
One executable is created inside the `build` folder for each example.

You can run each executable from the build folder with `./executablename`. For example:

### Ubuntu and MacOS

`./events_example`

### Windows

`.\Release\events_example.exe`

0 comments on commit 2f2b229

Please sign in to comment.