Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Support cmake-format #25

Open
okainov opened this issue Apr 1, 2020 · 1 comment
Open

Support cmake-format #25

okainov opened this issue Apr 1, 2020 · 1 comment

Comments

@okainov
Copy link

okainov commented Apr 1, 2020

It maybe not directly related, but usually people check native code with clang-format (this script) and cmake files with cmake-format. The tools have relatively similar interface and both of them don't support scanning folders :) While this scripts solves is for clang-format, it would be nice to have the similar wrapper on cmake-format.

Possible options:

  • Completely different script/repo
  • Integrate the possibility to run both tools from this script

I think latter will be useful for a lot of people, so there won't be the need to different wrappers and there can be one to rule them all.

@Sarcasm
Copy link
Owner

Sarcasm commented Apr 2, 2020

I would first try to see if cmake-format cannot it himself, unlike clang-format, it is already coded in python, and the project is smaller, younger, so it's easier to add features to it.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants