Skip to content

Commit 467b4b8

Browse files
committed
Make: Formatting CMakeLists.txt
1 parent 92b9a56 commit 467b4b8

File tree

2 files changed

+340
-345
lines changed

2 files changed

+340
-345
lines changed

.cmake-format.py

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)