* add clang-format configuration and script

* add cppcheck script proto (TODO include directories according ot cmake
    output)
TODO do it while build time and/or commit
This commit is contained in:
arcan1s
2015-10-14 01:01:25 +03:00
parent 3be733a775
commit af0dd25b86
3 changed files with 85 additions and 0 deletions

9
utils/cpp-check.sh Executable file
View File

@ -0,0 +1,9 @@
#!/bin/bash
# This code is used to check source files with cppcheck
cppcheck --enable=all \
--std=c++11 \
--verbose \
--quiet \
../sources 2>&1 | grep -v '3rdparty'