iMSTK
Interactive Medical Simulation Toolkit
include Namespace Reference

-guard-convert More...

Detailed Description

-guard-convert

Tool to convert traditional include guards to #pragma once.

This tool is licensed under GPLv2.
See the LICENSE file for details.

Dowloaded from this: https://github.com/marcusmueller/include-guard-convert
Usage: In Linux/Mac Terminal (not Windows), go to the Source folder then execute the following command:

find . -iname "*.h" -exec python3 ~/Programming/include-guard-convert.py {} \;

Note: After the conversion for the header files, uncrustify need to be run to re-format them