Add cmake-format config file.

This commit is contained in:
Ye Luo 2021-06-14 09:00:43 -05:00
parent 94ada0f5b4
commit c7923ff28d
1 changed files with 19 additions and 0 deletions

19
.cmake-format Normal file
View File

@ -0,0 +1,19 @@
# -----------------------------
# Options affecting formatting.
# -----------------------------
with section("format"):
# How wide to allow formatted cmake files
line_width = 120
# How many spaces to tab for indent
tab_size = 4
# ------------------------------------------------
# Options affecting comment reflow and formatting.
# ------------------------------------------------
with section("markup"):
# enable comment markup parsing and reflow
enable_markup = False