Closed aetx closed 3 years ago
Done. Although when running make format
I get the error error: cannot use -i when reading from stdin
. Is there something else to consider than just adding the package and target to the main CMakeLists.txt
? I do not get the error in Cabana.
@junghans is it finding a newer clang-format
?
@junghans is it finding a newer
clang-format
?
Yes, any clang-format
can be used, only if it is called clang-format-XX
(XX>10) then is won't pick it up.
Could NOT find CLANG_FORMAT: Found unsuitable version "0.0", but required is at least "10" (found /usr/bin/clang-format)
Not sure why it detected 0.0
.
ping @sslattery your call!
@streeve can port 34805d03a0f317fef5ff36764f556b2661e89d25 back to Cabana as well?
@streeve git am
is magic: https://github.com/ECP-copa/Cabana/pull/440
Just applied the clang format style from Cabana.