add clang-tidy build support

This commit is contained in:
Valient Gough
2017-08-03 21:22:40 -07:00
parent 22a88c0e48
commit fea77bad4e
2 changed files with 18 additions and 2 deletions

View File

@@ -1,5 +1,5 @@
# Script which sets up the CMake build for Debug mode.
# After running, chdir to the build subdir ane run "make"
mkdir build
cd build && cmake .. -DCMAKE_BUILD_TYPE=Debug \
cd build && cmake .. -DCMAKE_BUILD_TYPE=Debug -DLINT=ON \
-DCMAKE_CXX_FLAGS="-O1 -fsanitize=address -fno-omit-frame-pointer" $@