]> rtime.felk.cvut.cz Git - hubacji1/iamcar.git/blobdiff - README.md
Add howto enable address sanitizer
[hubacji1/iamcar.git] / README.md
index ee3264c7abaff0b56c26b4bb56d6d149688fe434..d7e86d5ba9fc43680998cfefa4f36ffcddec7be6 100644 (file)
--- a/README.md
+++ b/README.md
@@ -60,6 +60,10 @@ Implemented Steering procedures:
 To disable *OpenMP*, add `-DCMAKE_DISABLE_FIND_PACKAGE_OpenMP=TRUE` to `cmake`
 command or to `build.sh` script.
 
+To add address sanitizer, please update the `CMakeLists.txt` file with:
+- `add_compile_options(-Wall -g -Wno-unknown-pragmas -fsanitize=address)`
+- `target_link_libraries(go_car_go asan)`
+
 [CMake]: https://cmake.org/
 
 # Run