forked from an-tao/trantor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.cmake-format
53 lines (52 loc) · 1.37 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
# notes for additional commands
#
# nargs: '*' to allow multiple arguments
# kwargs: &fookwargs to definite keyword arguments
# kwargs: *fookwargs to use the same keyword arguments as fookwargs
# NAME: 1 to allow single keyword arguments
# NAME: + to allow multiple keyword arguments
# NAME: * to allow multiple keyword arguments
# spelling: FOO to use foo to FOO spelling
parse:
additional_commands:
FetchContent_Declare:
pargs:
nargs: '*'
flags: []
kwargs:
GIT_TAG: 1
GITHUB_REPOSITORY: 1
GITLAB_REPOSITORY: 1
GIT_REPOSITORY: 1
SVN_REPOSITORY: 1
SVN_REVISION: 1
URL: 1
URL_HASH: 1
URL_MD5: 1
FIND_PACKAGE_ARGS: +
FetchContent_MakeAvailable:
pargs:
nargs: '*'
flags: []
execute_process:
pargs:
nargs: '*'
flags: []
kwargs:
COMMAND: +
WORKING_DIRECTORY: 1
set_target_properties:
pargs:
nargs: '*'
flags: []
kwargs:
PROPERTIES: +
IMPORTED_LOCATION: 1
INTERFACE_INCLUDE_DIRECTORIES: 1
format:
tab_size: 2
line_width: 120
autosort: true
dangle_parens: true
max_subgroups_hwrap: 2
max_pargs_hwrap: 3