[Qt-creator] CMake and Beautifier

Benjamin TERRIER b.terrier at gmail.com
Thu Jun 11 17:27:53 CEST 2020


Hi,

The Beautifier plugin has an option for astyle to "Use file *.astylerc
defined in project files".
The documentation states that the file must be defined in DISTFILES. That
works well for qmake.
But what about CMake?

The only way I could make it work is by adding the astylerc file to one of
the targets (along with the cpp files for this target). But I find it a bit
ugly to have the whole project style associated with a single target and to
have it listed along cpp files.

Does someone know a better solution?

Thanks

Regards,

Benjamin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/qt-creator/attachments/20200611/0722ac1b/attachment.html>


More information about the Qt-creator mailing list