Skip to content

Commit

Permalink
Fix code blocks
Browse files Browse the repository at this point in the history
Signed-off-by: Nate Koenig <[email protected]>
  • Loading branch information
Nate Koenig committed Jan 4, 2021
1 parent 3c9b088 commit ab1dec1
Showing 1 changed file with 20 additions and 27 deletions.
47 changes: 20 additions & 27 deletions tutorials/01_installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -209,30 +209,23 @@ conda install libignition-cmake<#> libignition-common<#> libignition-msgs<#> lib
#### Building from source

1. Activate the Conda environment created in the prerequisites:

```
conda activate ign-ws
```
1. Navigate to where you would like to build the library, and clone the repository.
```
# Optionally, append `-b ign-fuel-tools#` (replace # with a number) to check out a specific version
git clone https://github.com/ignitionrobotics/ign-fuel-tools.git
```
1. Configure and build
```
cd ign-fuel-tools
mkdir build
cd build
cmake .. -DBUILD_TESTING=OFF # Optionally, -DCMAKE_INSTALL_PREFIX=path\to\install
cmake --build . --config Release
```
1. Optionally, install
```
cmake --install . --config Release
```
```
conda activate ign-ws
```
2. Navigate to where you would like to build the library, and clone the repository.
```
# Optionally, append `-b ign-fuel-tools#` (replace # with a number) to check out a specific version
git clone https://github.com/ignitionrobotics/ign-fuel-tools.git
```
3. Configure and build
```
cd ign-fuel-tools
mkdir build
cd build
cmake .. -DBUILD_TESTING=OFF # Optionally, -DCMAKE_INSTALL_PREFIX=path\to\install
cmake --build . --config Release
```
4. Optionally, install
```
cmake --install . --config Release
```

0 comments on commit ab1dec1

Please sign in to comment.