Skip to content

Commit 57e04ed

Browse files
committed
Update readme to put note about disabling testing in the test section
1 parent 797247f commit 57e04ed

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,12 @@ clang-5, Visual Studio 2019 (possibly previous versions as well) or later. If
6666
you are using other compilers/compiler versions (like mingw), these may also be
6767
supported. Simply run the test suite and check that everything passes.
6868

69+
If you want to disable building tests, you can add `-DBUILD_TESTING=OFF` when invoking cmake the first time. This will also remove the Catch2 dependency.
70+
71+
```bash
72+
cmake -S . -B ./build -DCMAKE_BUILD_TYPE=Release -DBUILD_TESTING=OFF
73+
```
74+
6975
## Install the library (Linux/Mac only)
7076

7177
The recommended use of RLBox is to make a copy of this library in your source tree.
@@ -78,12 +84,6 @@ Configure the build with cmake in the same way that previous paragraph. Then sim
7884
make install
7985
```
8086

81-
If you want to disable building tests, you can add `-DBUILD_TESTING=OFF` when invoking cmake the first time. This will also remove the Catch2 dependency.
82-
83-
```bash
84-
cmake -S . -B ./build -DCMAKE_BUILD_TYPE=Release -DBUILD_TESTING=OFF
85-
```
86-
8787
## Contributing Code
8888

8989
1. To contribute code, it is recommended you install clang-tidy which the build

0 commit comments

Comments
 (0)