We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 92b9a56 commit 467b4b8Copy full SHA for 467b4b8
.cmake-format.py
@@ -0,0 +1,19 @@
1
+# -----------------------------
2
+# Options effecting formatting.
3
4
+with section("format"):
5
+ # How wide to allow formatted cmake files
6
+ line_width = 120
7
+
8
+ # How many spaces to tab for indent
9
+ tab_size = 4
10
11
+ # If true, separate flow control names from their parentheses with a space
12
+ separate_ctrl_name_with_space = True
13
14
+ # If true, separate function names from parentheses with a space
15
+ separate_fn_name_with_space = False
16
17
+ # If a statement is wrapped to more than one line, than dangle the closing
18
+ # parenthesis on its own line.
19
+ dangle_parens = True
0 commit comments