@@ -59,8 +59,8 @@ The [Source Install](#source-install) instructions should be used if you need th
5959
6060On Ubuntu systems, ` apt-get ` can be used to install ` gz-cmake ` :
6161
62- ```
63- $ sudo apt install libgz-cmake<#>-dev
62+ ``` bash
63+ sudo apt install libgz-cmake< # >-dev
6464```
6565
6666Be sure to replace ` <#> ` with a number value, such as ` 1 ` or ` 2 ` , depending on which version you need.
@@ -71,22 +71,22 @@ Be sure to replace `<#>` with a number value, such as `1` or `2`, depending on w
7171
7272The only prerequisite of ` gz-cmake ` is ` cmake ` . Ubuntu users can install cmake with the package manager:
7373
74- ```
75- $ sudo apt install cmake
74+ ``` bash
75+ sudo apt install cmake
7676```
7777
7878### Building from source
7979
8080To build and install from source, you can clone the repo and use cmake to install the modules as though this is a regular cmake project:
8181
82- ```
83- $ git clone https://github.com/gazebosim/gz-cmake
84- $ cd gz-cmake
85- $ mkdir build
86- $ cd build
87- $ cmake .. -DCMAKE_INSTALL_PREFIX=/path/to/install/dir
88- $ make -j8
89- $ make install
82+ ``` bash
83+ git clone https://github.com/gazebosim/gz-cmake
84+ cd gz-cmake
85+ mkdir build
86+ cd build
87+ cmake .. -DCMAKE_INSTALL_PREFIX=/path/to/install/dir
88+ make -j8
89+ make install
9090```
9191
9292Replace ` /path/to/install/dir ` to whatever directory you want to install this package to.
@@ -108,9 +108,9 @@ Documentation for `gz-cmake` can be found within the source code, and also in th
108108A fuller suite of tests in the ` examples ` directory can be enabled by building with ` BUILDSYSTEM_TESTING ` enabled.
109109Tests can be run by building the ` test ` target. From your build directory you can run:
110110
111- ```
112- $ cmake .. -DBUILDSYSTEM_TESTING=1
113- $ make test
111+ ``` bash
112+ cmake .. -DBUILDSYSTEM_TESTING=1
113+ make test
114114```
115115
116116# Folder Structure
0 commit comments