Skip to content

Commit

Permalink
Update Windows instructions of examples
Browse files Browse the repository at this point in the history
Signed-off-by: Daisuke Sato <[email protected]>
  • Loading branch information
Tiryoh committed Sep 12, 2024
1 parent 3b0208c commit b36ba51
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 0 deletions.
7 changes: 7 additions & 0 deletions tutorials/example_angle.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,20 @@ cd gz-math/examples
mkdir build
cd build
cmake ..
# Linux and macOS
make
# Windows
cd ..
cmake --build build --config Release
```

When the code is compiled, run:

```{.sh}
# Linux and macOS
./angle_example
# Windows
.\build\Release\angle_example.exe
```

The ouput of the program:
Expand Down
7 changes: 7 additions & 0 deletions tutorials/example_triangle.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,20 @@ cd gz-math/examples
mkdir build
cd build
cmake ..
# Linux and macOS
make
# Windows
cd ..
cmake --build build --config Release
```

When the code is compiled, run:

```{.sh}
# Linux and macOS
./triangle_example
# Windows
.\build\Release\triangle_example.exe
```

The ouput of the program:
Expand Down
7 changes: 7 additions & 0 deletions tutorials/example_vector2.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,20 @@ cd gz-math/examples
mkdir build
cd build
cmake ..
# Linux and macOS
make
# Windows
cd ..
cmake --build build --config Release
```

When the code is compiled, run:

```bash
# Linux and macOS
./vector2_example
# Windows
.\build\Release\vector2_example.exe
```

The output of the program:
Expand Down

0 comments on commit b36ba51

Please sign in to comment.