Skip to content

Commit 4d6f92a

Browse files
Update README.md fix #985
Duuuude
1 parent cdcbb8c commit 4d6f92a

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -64,19 +64,19 @@ Compiling with [conan](https://conan.io/):
6464
Assuming that you are in the **parent** directory of `BehaviorTree.CPP`:
6565

6666
```
67-
mkdir build; cd build
68-
conan install ../BehaviorTree.CPP --output-folder=. --build=missing
69-
cmake ../BehaviorTree.CPP -DCMAKE_TOOLCHAIN_FILE="conan_toolchain.cmake"
70-
cmake --build . --parallel
67+
mkdir build_release
68+
conan install . -of build_release -s build_type=Release
69+
cmake -S . -B build_release -DCMAKE_TOOLCHAIN_FILE="build_release/conan_toolchain.cmake"
70+
cmake --build build_release --parallel
7171
```
7272

7373
If you have dependencies such as ZeroMQ and SQlite already installed and you don't want to
7474
use conan, simply type:
7575

7676
```
77-
mkdir build; cd build
78-
cmake ../BehaviorTree.CPP
79-
cmake --build . --parallel
77+
mkdir build_release
78+
cmake -S . -B build_release
79+
cmake --build build_release --parallel
8080
```
8181

8282
If you want to build in a [pixi](https://pixi.sh/) project (conda virtual environment).

0 commit comments

Comments
 (0)