This repository has been archived by the owner on Jul 31, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 38
/
.cmake-format.yaml
230 lines (230 loc) · 5.13 KB
/
.cmake-format.yaml
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
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
parse:
additional_commands:
checkout_git_submodule:
flags:
- RECURSIVE
kwargs:
RELATIVE_PATH: '*'
WORKING_DIRECTORY: '*'
TEST_FILE: '*'
REPO_URL: '*'
REPO_BRANCH: '*'
ADDITIONAL_COMMANDS: '*'
timemory_save_variables:
kwargs:
VARIABLES: '*'
CONDITION: '*'
timemory_restore_variables:
kwargs:
VARIABLES: '*'
CONDITION: '*'
create_executable:
flags:
- INSTALL
- EXCLUDE_FROM_ALL
kwargs:
TARGET_NAME: '*'
HEADERS: '*'
SOURCES: '*'
PROPERTIES: '*'
LINK_LIBRARIES: '*'
INSTALL_DESTINATION: '*'
add_timemory_google_test:
flags:
- DISCOVER_TESTS
- ADD_TESTS
- MPI
kwargs:
NPROCS: '*'
TIMEOUT: '*'
TARGET: '*'
SOURCES: '*'
DEPENDS: '*'
DEFINITIONS: '*'
LINK_LIBRARIES: '*'
COMMAND: '*'
OPTIONS: '*'
ENVIRONMENT: '*'
create_executable:
flags:
- INSTALL
- EXCLUDE_FROM_ALL
kwargs:
TARGET_NAME: '*'
HEADERS: '*'
SOURCES: '*'
PROPERTIES: '*'
LINK_LIBRARIES: '*'
INSTALL_DESTINATION: '*'
build_library:
flags:
- PIC
- NO_CACHE_LIST
- EXCLUDE_FROM_ALL
kwargs:
TYPE: '*'
OUTPUT_NAME: '*'
TARGET_NAME: '*'
OUTPUT_DIR: '*'
LANGUAGE: '*'
LINKER_LANGUAGE: '*'
SOURCES: '*'
LINK_LIBRARIES: '*'
COMPILE_DEFINITIONS: '*'
INCLUDE_DIRECTORIES: '*'
C_COMPILE_OPTIONS: '*'
CXX_COMPILE_OPTIONS: '*'
CUDA_COMPILE_OPTIONS: '*'
LINK_OPTIONS: '*'
EXTRA_PROPERTIES: '*'
timemory_install_libraries:
flags:
- LINK_VERSION
- LINK_SOVERSION
kwargs:
DESTINATION: '*'
EXPORT: '*'
TARGETS: '*'
timemory_target_precompile_headers:
flags:
- INSTALL_INTERFACE
kwargs:
FILES: '*'
build_intermediate_library:
flags:
- USE_INTERFACE
- USE_CATEGORY
- INSTALL_SOURCE
- FORCE_OBJECT
- FORCE_SHARED
- FORCE_STATIC
kwargs:
NAME: '*'
TARGET: '*'
CATEGORY: '*'
FOLDER: '*'
VISIBILITY: '*'
HEADERS: '*'
SOURCES: '*'
DEPENDS: '*'
INCLUDES: '*'
PROPERTY_DEPENDS: '*'
PUBLIC_LINK: '*'
PRIVATE_LINK: '*'
add_cmake_defines:
flags:
- VALUE
- QUOTE
- DEFAULT
add_connector_config:
flags:
- GPU
- DISABLE_COMPILE_OPTIONS
kwargs:
CONDITION: '*'
COMPONENTS: '*'
TARGETS: '*'
DEFINITIONS: '*'
ENVIRONMENT: '*'
add_papi_connector_config:
kwargs:
COMPONENTS: '*'
TARGETS: '*'
DEFINITIONS: '*'
ENVIRONMENT: '*'
find_package_interface:
kwargs:
INTERFACE: '*'
DESCRIPTION: '*'
FIND_ARGS: '*'
INCLUDE_DIRS: '*'
COMPILE_DEFINITIONS: '*'
COMPILE_OPTIONS: '*'
LINK_LIBRARIES: '*'
timemory_target_flag:
flags:
- IF_AVAIL
kwargs:
MODE: '*'
FLAGS: '*'
LANGUAGES: '*'
find_static_library:
kwargs:
DOC: '*'
NAMES: '*'
HINTS: '*'
PATHS: '*'
PATH_SUFFIXES: '*'
_boost_debug_print_var:
flags:
- ENVIRONMENT
kwargs:
SOURCE: '*'
get_cpu_features:
kwargs:
TARGET: '*'
VALID: '*'
CANDIDATES: '*'
override_spec: {}
vartags: []
proptags: []
format:
disable: false
line_width: 90
tab_size: 4
use_tabchars: false
fractional_tab_policy: use-space
max_subgroups_hwrap: 2
max_pargs_hwrap: 8
max_rows_cmdline: 2
separate_ctrl_name_with_space: false
separate_fn_name_with_space: false
dangle_parens: false
dangle_align: child
min_prefix_chars: 4
max_prefix_chars: 10
max_lines_hwrap: 2
line_ending: unix
command_case: lower
keyword_case: upper
always_wrap: []
enable_sort: true
autosort: false
require_valid_layout: false
layout_passes: {}
markup:
bullet_char: '*'
enum_char: .
first_comment_is_literal: false
literal_comment_pattern: null
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
lint:
disabled_codes: []
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
encode:
emit_byteorder_mark: false
input_encoding: utf-8
output_encoding: utf-8
misc:
per_command: {}