See the rlly library.
To view the documentation, run
doxygen Doxyfile
and open the file docs/html/index.html
.
-
Create file
examples/my_example.cpp
. -
Add the following lines at the end of
examples/CMakeLists.txt
:
add_executable(my_example my_example.cpp)
target_link_libraries(my_example rlcpp)
- Run
$ bash scripts/compile.sh my_example && ./build/examples/my_example
-
Create a file
test/my_test.cpp
using Catch2. -
In the file
test/CMakeLists.txt
, includemy_test.cpp
in the list of files inadd_executable()
. -
Run
$ bash scripts/run_tests.sh