view HACKING @ 1331:8897c90b8166

(issue108) Remove generate_cppcheck and cppcheck target This did not work correctly. It is better just to manually execute cppcheck on the files as it gives you more control over the options.
author Andre Heinecke <andre.heinecke@intevation.de>
date Wed, 15 Oct 2014 13:24:59 +0200
parents 1dc1f5a4b577
children
line wrap: on
line source
Please keep C code according to GNU coding standards.

With regards to the style:
    astyle --style=gnu --indent=spaces=2

For the C++ Ui code please use the kdelibs coding style
    astyle --indent=spaces=4 --brackets=linux \
           --indent-labels --pad-oper --unpad-paren --pad-header \
           --keep-one-line-statements --convert-tabs \
           --indent-preprocessor

http://wald.intevation.org/projects/trustbridge/