Skip to content

Commit 45290e4

Browse files
authored
Merge pull request #504 from gazebosim/merge_4_main_20250714
Merge 4 -> main
2 parents d415377 + 7fd4977 commit 45290e4

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed

README.md

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,8 @@ The [Source Install](#source-install) instructions should be used if you need th
5959

6060
On 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

6666
Be 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

7272
The 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

8080
To 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

9292
Replace `/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
108108
A fuller suite of tests in the `examples` directory can be enabled by building with `BUILDSYSTEM_TESTING` enabled.
109109
Tests 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

Comments
 (0)