Johann | 1739154 | 2018-06-27 10:46:03 -0700 | [diff] [blame] | 1 | # Generated with cmake-format 0.3.6 |
Johann | 589bae8 | 2018-04-27 10:57:44 -0700 | [diff] [blame] | 2 | # How wide to allow formatted cmake files |
| 3 | line_width = 80 |
| 4 | |
| 5 | # How many spaces to tab for indent |
| 6 | tab_size = 2 |
| 7 | |
| 8 | # If arglists are longer than this, break them always. This introduces some |
| 9 | # interesting effects with complicated 'if' statements. However, we want file |
| 10 | # lists to look reasonable. Try to strike a balance. |
| 11 | max_subargs_per_line = 10 |
| 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 | |
| 35 | # Specify structure for custom cmake functions |
| 36 | additional_commands = { |
| 37 | "foo": { |
| 38 | "flags": [ |
| 39 | "BAR", |
| 40 | "BAZ" |
| 41 | ], |
| 42 | "kwargs": { |
| 43 | "HEADERS": "*", |
| 44 | "DEPENDS": "*", |
| 45 | "SOURCES": "*" |
| 46 | } |
| 47 | } |
| 48 | } |