diff --git a/tutorials/example_angle.md b/tutorials/example_angle.md index 00e66027..5827504c 100644 --- a/tutorials/example_angle.md +++ b/tutorials/example_angle.md @@ -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: diff --git a/tutorials/example_triangle.md b/tutorials/example_triangle.md index 2226a12c..e42ffe93 100644 --- a/tutorials/example_triangle.md +++ b/tutorials/example_triangle.md @@ -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: diff --git a/tutorials/example_vector2.md b/tutorials/example_vector2.md index b34df1e8..484b6987 100644 --- a/tutorials/example_vector2.md +++ b/tutorials/example_vector2.md @@ -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: