Skip to content

Commit d20f5a7

Browse files
committed
Adding commands to show the options of this library for cmake
1 parent 915c8a2 commit d20f5a7

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

‎README.md‎

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,19 @@ cmake -DCMAKE_BUILD_TYPE=Release -Bbuild -H.
1717
cmake --build build
1818
```
1919

20+
### Listing Build Options
21+
22+
You can check the latest build options with cmake. After you configure cmake you can run this.
23+
```shell
24+
cd build
25+
26+
# List this projects options
27+
cmake -LH .. | grep -B1 "DBC_"
28+
29+
# To see all the included project cache variables and options
30+
cmake -LAH ..
31+
```
32+
2033
## Testing
2134

2235
I am trying to always make sure that this is very well tested code. I am using Catch2 to do this

0 commit comments

Comments
 (0)