diff --git a/runformat b/runformat index 4f44597e8..bb8c45746 100755 --- a/runformat +++ b/runformat @@ -1,4 +1,10 @@ #!/bin/bash +# +# uncrustify-0.72 is used to format cppcheck source code. +# source code: https://github.com/uncrustify/uncrustify/archive/refs/tags/uncrustify-0.72.0.zip +# building in Linux: mkdir build && cd build && cmake -DCMAKE_BUILD_TYPE=Release .. && make +# building in Windows: mkdir build && cd build && cmake -G"NMake Makefiles" -DCMAKE_BUILD_TYPE=Release .. && nmake + UNCRUSTIFY_VERSION="0.72.0" UNCRUSTIFY="${UNCRUSTIFY-uncrustify}"