alicevision / AliceVision

Photogrammetric Computer Vision Framework
http://alicevision.org
Other
2.89k stars 807 forks source link

[software] Disable clang-format around program options #1643

Closed cbentejac closed 5 months ago

cbentejac commented 5 months ago

Description

clang-format does not handle the syntax of boost::program_options that we use correctly, which leads to a formatting that is difficult to read when it is applied.

It is thus disabled around all the program options for every executable with this pull request.

Following this PR, it will be possible to apply clang-format on any file of AliceVision without risking formatting errors.