You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@trafficserver.apache.org by "bneradt (via GitHub)" <gi...@apache.org> on 2023/07/13 17:32:06 UTC
[GitHub] [trafficserver] bneradt commented on a diff in pull request #10002: Use cmake-format for consistent CMakeLists.txt formatting
bneradt commented on code in PR #10002:
URL: https://github.com/apache/trafficserver/pull/10002#discussion_r1262868294
##########
.cmake-format.yaml:
##########
@@ -0,0 +1,245 @@
+_help_parse: Options affecting listfile parsing
+parse:
+ _help_additional_commands:
+ - Specify structure for custom cmake functions
+ additional_commands:
+ foo:
+ flags:
+ - BAR
+ - BAZ
+ kwargs:
+ HEADERS: "*"
+ SOURCES: "*"
+ DEPENDS: "*"
+ _help_override_spec:
+ - Override configurations per-command where available
+ override_spec: {}
+ _help_vartags:
+ - Specify variable tags.
+ vartags: []
+ _help_proptags:
+ - Specify property tags.
+ proptags: []
+_help_format: Options affecting formatting.
+format:
+ _help_disable:
+ - Disable formatting entirely, making cmake-format a no-op
+ disable: false
+ _help_line_width:
+ - How wide to allow formatted cmake files
+ line_width: 120
+ _help_tab_size:
+ - How many spaces to tab for indent
+ tab_size: 4
Review Comment:
Let's use the default value of 2 here since that seems to be the expected default.
Everything else looks fine. As usual it's not perfect, but the consistency is worth it.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@trafficserver.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org