Skip to content

Latest commit

 

History

History

README.md

Developers tools

Astyle

https://astyle.sourceforge.net/astyle.html

Usage (from source root):

astyle  --project=tools/astyle.cfg -I path/to/file.cpp

or

astyle  --project=tools/astyle.cfg -I -r 'module/*.cpp' 'module/*.h'

codespell

https://github.com/codespell-project/codespell

Usage (from source root):

codespell --config tools/codespell.cfg

Include-What-You-Use

https://include-what-you-use.org

To use IWYU, run qmake with the optional USE flag:

qmake  -r USE+=check_iwyu path/to/gcodeworkshop_top.pro

The following additional parameters are possible:

  • IWYU_INCLUDES specifies additional paths to search for header files, this comes in handy in Debian:

    IWYU_INCLUDES=/usr/lib/llvm-13/include/c++/v1
    
  • IWYU_EXTRA_FLAGS additional options specifically IWYU:

    IWYU_EXTRA_FLAGS='-Xiwyu --update_comments'
    

Additional links:

Tips

Convert png to ico

convert application-x-g-code.png  -define icon:auto-resize=256,128,64,48,32,24,16 gcode_file.ico