Skip to content

Commit

Permalink
Add cmake-format config file.
Browse files Browse the repository at this point in the history
  • Loading branch information
ye-luo committed Jun 14, 2021
1 parent 94ada0f commit c7923ff
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .cmake-format
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit c7923ff

Please sign in to comment.