forked from STORM-IRIT/Radium-Engine
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.cmake-format
124 lines (119 loc) · 6.42 KB
/
.cmake-format
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
with section("parse"):
additional_commands = { 'add_imported_dir': { 'kwargs': {'FROM': 1, 'TO': '+'},
'pargs': {'flags': [], 'nargs': '*'}},
'configure_bundled_radium_app': { 'kwargs': { 'NAME': 1,
'PREFIX': 1,
'RESOURCES': '+'},
'pargs': { 'flags': ['USE_PLUGINS'],
'nargs': '*'}},
'configure_cmdline_radium_app': { 'kwargs': { 'NAME': 1,
'PREFIX': 1,
'RESOURCES': '+'},
'pargs': {'flags': [], 'nargs': '*'}},
'configure_radium_app': { 'kwargs': {'NAME': 1, 'RESOURCES': '+'},
'pargs': {'flags': ['USE_PLUGINS'], 'nargs': '*'}},
'configure_radium_library': { 'kwargs': { 'FILES': '+',
'NAMESPACE': 1,
'PACKAGE_CONFIG': 1,
'PACKAGE_DIR': 1,
'TARGET': 1,
'TARGET_DIR': 1},
'pargs': {'flags': [], 'nargs': '*'}},
'configure_radium_package': { 'kwargs': { 'NAME': 1,
'PACKAGE_CONFIG': 1,
'PACKAGE_DIR': 1},
'pargs': {'flags': [], 'nargs': '*'}},
'configure_radium_plugin': { 'kwargs': { 'HELPER_LIBS': '+',
'NAME': 1,
'RESOURCES': '+'},
'pargs': { 'flags': ['INSTALL_IN_RADIUM_BUNDLE'],
'nargs': '*'}},
'configure_radium_target': {'pargs': {'nargs': 1}},
'configure_windows_radium_app': { 'kwargs': { 'NAME': 1,
'PREFIX': 1,
'RESOURCES': '+'},
'pargs': { 'flags': ['USE_PLUGINS'],
'nargs': '*'}},
'install_plugin_resources': { 'kwargs': { 'BUILD_LOCATION': 1,
'DIRECTORY': 1,
'FILES': '+',
'INSTALL_LOCATION': 1,
'TARGET': 1},
'pargs': {'flags': [], 'nargs': '*'}},
'install_qt_plugin': {'pargs': {'nargs': 3}},
'install_target_resources': { 'kwargs': { 'FILES': '+',
'RESOURCES_DIR': 1,
'RESOURCES_INSTALL_DIR': 1,
'TARGET': 1},
'pargs': {'flags': [], 'nargs': '*'}},
'populate_local_dependencies': { 'kwargs': {'DUMMY_MULTI': '+', 'NAME': 1},
'pargs': { 'flags': ['DUMMY_OPTION'],
'nargs': '*'}},
'print_target_properties': {'pargs': {'nargs': 1}},
'radium_exported_resources': { 'kwargs': { 'ACCESS_FROM_PACKAGE': 1,
'PREFIX': 1,
'TARGET': 1},
'pargs': {'flags': [], 'nargs': '*'}}}
override_spec = {}
vartags = []
proptags = []
with section("format"):
disable = False
line_width = 100
tab_size = 4
use_tabchars = False
fractional_tab_policy = 'use-space'
max_subgroups_hwrap = 4
max_pargs_hwrap = 8
max_rows_cmdline = 2
separate_ctrl_name_with_space = False
separate_fn_name_with_space = False
dangle_parens = True
dangle_align = 'prefix'
min_prefix_chars = 4
max_prefix_chars = 10
max_lines_hwrap = 2
line_ending = 'unix'
command_case = 'canonical'
keyword_case = 'upper'
always_wrap = []
enable_sort = True
autosort = False
require_valid_layout = False
layout_passes = {}
with section("markup"):
bullet_char = '*'
enum_char = '.'
first_comment_is_literal = True
literal_comment_pattern = None
fence_pattern = '^\\s*([`~]{3}[`~]*)(.*)$'
ruler_pattern = '^\\s*[^\\w\\s]{3}.*[^\\w\\s]{3}$'
explicit_trailing_pattern = '#<'
hashruler_min_length = 10
canonicalize_hashrulers = True
enable_markup = True
with section("lint"):
disabled_codes = ["E1120"]
function_pattern = '[0-9a-z_]+'
macro_pattern = '[0-9a-z_]+'
global_var_pattern = '[A-Z][0-9A-Z_]+'
internal_var_pattern = '_[A-Z][0-9A-Z_]+'
local_var_pattern = '[a-z][a-z0-9_]+'
private_var_pattern = '_[0-9a-z_]+'
public_var_pattern = '[A-Z][0-9A-Z_]+'
argument_var_pattern = '[a-z][a-z0-9_]+'
keyword_pattern = '[A-Z][0-9A-Z_]+'
max_conditionals_custom_parser = 2
min_statement_spacing = 1
max_statement_spacing = 2
max_returns = 6
max_branches = 12
max_arguments = 5
max_localvars = 15
max_statements = 50
with section("encode"):
emit_byteorder_mark = False
input_encoding = 'utf-8'
output_encoding = 'utf-8'
with section("misc"):
per_command = {}