Mike Weiblen | b42dd07 | 2018-08-14 17:30:27 -0600 | [diff] [blame] | 1 | # Configuration for cmake-format (v0.4.1, circa Jul 2018) |
Mike Weiblen | 0d46069 | 2018-06-30 23:38:20 -0600 | [diff] [blame] | 2 | # https://github.com/cheshirekow/cmake_format |
| 3 | |
| 4 | # How wide to allow formatted cmake files |
| 5 | line_width = 132 |
| 6 | |
| 7 | # How many spaces to tab for indent |
| 8 | tab_size = 4 |
| 9 | |
| 10 | # If arglists are longer than this, break them always |
| 11 | max_subargs_per_line = 3 |
| 12 | |
| 13 | # If true, separate flow control names from their parentheses with a space |
| 14 | separate_ctrl_name_with_space = False |
| 15 | |
| 16 | # If true, separate function names from parentheses with a space |
| 17 | separate_fn_name_with_space = False |
| 18 | |
| 19 | # If a statement is wrapped to more than one line, than dangle the closing |
| 20 | # parenthesis on it's own line |
| 21 | dangle_parens = False |
| 22 | |
| 23 | # What character to use for bulleted lists |
| 24 | bullet_char = u'*' |
| 25 | |
| 26 | # What character to use as punctuation after numerals in an enumerated list |
| 27 | enum_char = u'.' |
| 28 | |
| 29 | # What style line endings to use in the output. |
| 30 | line_ending = u'unix' |
| 31 | |
| 32 | # Format command names consistently as 'lower' or 'upper' case |
| 33 | command_case = u'lower' |
| 34 | |