runformat: simple build instruction

This commit is contained in:
Daniel Marjamäki 2021-08-08 14:34:52 +02:00
parent 0f12003e07
commit 0e366e056f
1 changed files with 6 additions and 0 deletions

View File

@ -1,4 +1,10 @@
#!/bin/bash #!/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_VERSION="0.72.0"
UNCRUSTIFY="${UNCRUSTIFY-uncrustify}" UNCRUSTIFY="${UNCRUSTIFY-uncrustify}"