From 18d48e1bb79db5d9edfbc17dfffc9b4ce67a25f9 Mon Sep 17 00:00:00 2001 From: ahcorde Date: Fri, 26 Mar 2021 19:44:16 +0100 Subject: [PATCH] Include windows instructions in examples README.md Signed-off-by: ahcorde --- examples/README.md | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/examples/README.md b/examples/README.md index 9a7fb5fa8..84917e754 100644 --- a/examples/README.md +++ b/examples/README.md @@ -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`