You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+9-2Lines changed: 9 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -56,9 +56,16 @@ int main()
56
56
```
57
57
58
58
## Compile & Run Testing
59
-
Having googletest (find here on github) installed / built is a requirement to run the tests.
60
59
Create a build folder, navigate there, run cmake and build the tree-tests target.
61
-
You might have to adapt the linker line for gtest, if you built it yourself and didn't install it into your system.
60
+
61
+
```bash
62
+
mkdir build
63
+
cd build
64
+
cmake .. -DINT_TREE_ENABLE_TESTS=on
65
+
cmake --build .
66
+
./tests/tree-tests
67
+
```
68
+
62
69
If you want to generate the pretty drawings, install cairo, pull the submodule and pass INT_TREE_DRAW_EXAMPLES=on to the cmake command line to generate a drawings/make_drawings executeable.
63
70
64
71
Some features of this library require the presence of an optional type.
0 commit comments