From 0e366e056f3f4761a2bdae9b29f3ec8fba50df91 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Marjam=C3=A4ki?= Date: Sun, 8 Aug 2021 14:34:52 +0200 Subject: [PATCH] runformat: simple build instruction --- runformat | 6 ++++++ 1 file changed, 6 insertions(+) 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}"