From 2f2b229a45c47cd55cc2fb751a3a9deeaa77d1f5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Hern=C3=A1ndez=20Cordero?= Date: Fri, 26 Mar 2021 23:24:42 +0100 Subject: [PATCH] Include windows instructions in examples README.md (#190) 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 9a7fb5fa..84917e75 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`