forked from ufz/ogs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.cmake-format.yaml
138 lines (134 loc) · 2.84 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
format:
tab_size: 4
max_subgroups_hwrap: 3
dangle_parens: true
command_case: "unchanged"
line_width: 80
lint:
disabled_codes:
- "C0301"
- "C0301" # Line to long.
- "C0113" # Missing COMMAND for optional dependencies.
parse:
vartags:
- !!python/tuple
- set_property
- - cmdline
additional_commands:
ogs_add_library:
pargs:
nargs: 2+
addtest:
pargs:
nargs: "*"
flags:
- DISABLED
spelling: AddTest
kwargs:
EXECUTABLE: 1
PATH: 1
NAME: 1
WRAPPER: 1
TESTER: 1
ABSTOL: 1
RELTOL: 1
RUNTIME: 1
DEPENDS: 1
WORKING_DIRECTORY: 1
EXECUTABLE_ARGS: +
DATA: +
DIFF_DATA:
pargs:
tags:
- cmdline
WRAPPER_ARGS: +
REQUIREMENTS: +
PYTHON_PACKAGES: +
ogstest:
pargs:
nargs: "*"
flags:
- DISABLED
spelling: OgsTest
kwargs:
PROJECTFILE: 1
RUNTIME: 1
WRAPPER: +
cpmaddpackage:
pargs:
nargs: "*"
flags: []
spelling: CPMAddPackage
kwargs: &cpmaddpackagekwargs
NAME: 1
FORCE: 1
VERSION: 1
GIT_TAG: 1
DOWNLOAD_ONLY: 1
GITHUB_REPOSITORY: 1
GITLAB_REPOSITORY: 1
GIT_REPOSITORY: 1
SVN_REPOSITORY: 1
SVN_REVISION: 1
SOURCE_DIR: 1
DOWNLOAD_COMMAND: 1
FIND_PACKAGE_ARGUMENTS: 1
NO_CACHE: 1
GIT_SHALLOW: 1
URL: 1
URL_HASH: 1
URL_MD5: 1
DOWNLOAD_NAME: 1
DOWNLOAD_NO_EXTRACT: 1
HTTP_USERNAME: 1
HTTP_PASSWORD: 1
EXCLUDE_FROM_ALL: 1
OPTIONS: +
cpmfindpackage:
pargs:
nargs: "*"
flags: []
spelling: CPMFindPackage
kwargs: *cpmaddpackagekwargs
cpmdeclarepackage:
pargs:
nargs: "*"
flags: []
spelling: CPMDeclarePackage
kwargs: *cpmaddpackagekwargs
packageproject:
pargs:
nargs: "*"
flags: []
spelling: packageProject
kwargs:
NAME: 1
VERSION: 1
INCLUDE_DIR: 1
INCLUDE_DESTINATION: 1
BINARY_DIR: 1
COMPATIBILITY: 1
VERSION_HEADER: 1
DEPENDENCIES: +
cpmusepackagelock:
pargs: 1
spelling: CPMUsePackageLock
cpmregisterpackage:
pargs: 1
spelling: CPMRegisterPackage
cpmgetpackageversion:
pargs: 2
spelling: CPMGetPackageVersion
buildexternalproject:
pargs:
nargs: "*"
spelling: BuildExternalProject
kwargs:
GIT_REPOSITORY: 1
GIT_TAG: 1
CONFIGURE_COMMAND: +
BUILD_COMMAND: +
INSTALL_COMMAND: +
BUILD_IN_SOURCE: 1
LOG_OUTPUT_ON_FAILURE: 1
CMAKE_ARGS: +