Skip to content

Commit cda03b4

Browse files
authored
ci(cmake): split additional_commands to its own file (#486)
1 parent ee556fc commit cda03b4

File tree

2 files changed

+70
-70
lines changed

2 files changed

+70
-70
lines changed

.cmake-format

+1-70
Original file line numberDiff line numberDiff line change
@@ -1,74 +1,5 @@
1+
include: ["cmake/.cmake-format-additional_commands-cpm"]
12
format:
23
tab_size: 2
34
line_width: 100
45
dangle_parens: true
5-
6-
parse:
7-
additional_commands:
8-
cpmaddpackage:
9-
pargs:
10-
nargs: '*'
11-
flags: []
12-
spelling: CPMAddPackage
13-
kwargs: &cpmaddpackagekwargs
14-
NAME: 1
15-
FORCE: 1
16-
VERSION: 1
17-
GIT_TAG: 1
18-
DOWNLOAD_ONLY: 1
19-
GITHUB_REPOSITORY: 1
20-
GITLAB_REPOSITORY: 1
21-
GIT_REPOSITORY: 1
22-
SVN_REPOSITORY: 1
23-
SVN_REVISION: 1
24-
SOURCE_DIR: 1
25-
DOWNLOAD_COMMAND: 1
26-
FIND_PACKAGE_ARGUMENTS: 1
27-
NO_CACHE: 1
28-
GIT_SHALLOW: 1
29-
URL: 1
30-
URL_HASH: 1
31-
URL_MD5: 1
32-
DOWNLOAD_NAME: 1
33-
DOWNLOAD_NO_EXTRACT: 1
34-
HTTP_USERNAME: 1
35-
HTTP_PASSWORD: 1
36-
EXCLUDE_FROM_ALL: 1
37-
SYSTEM: 1
38-
SOURCE_SUBDIR: 1
39-
OPTIONS: +
40-
cpmfindpackage:
41-
pargs:
42-
nargs: '*'
43-
flags: []
44-
spelling: CPMFindPackage
45-
kwargs: *cpmaddpackagekwargs
46-
cpmdeclarepackage:
47-
pargs:
48-
nargs: '*'
49-
flags: []
50-
spelling: CPMDeclarePackage
51-
kwargs: *cpmaddpackagekwargs
52-
packageproject:
53-
pargs:
54-
nargs: '*'
55-
flags: []
56-
spelling: packageProject
57-
kwargs:
58-
NAME: 1
59-
VERSION: 1
60-
INCLUDE_DIR: 1
61-
INCLUDE_DESTINATION: 1
62-
BINARY_DIR: 1
63-
COMPATIBILITY: 1
64-
VERSION_HEADER: 1
65-
DEPENDENCIES: +
66-
cpmusepackagelock:
67-
pargs: 1
68-
spelling: CPMUsePackageLock
69-
cpmregisterpackage:
70-
pargs: 1
71-
spelling: CPMRegisterPackage
72-
cpmgetpackageversion:
73-
pargs: 2
74-
spelling: CPMGetPackageVersion
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
parse:
2+
additional_commands:
3+
cpmaddpackage:
4+
pargs:
5+
nargs: '*'
6+
flags: []
7+
spelling: CPMAddPackage
8+
kwargs: &cpmaddpackagekwargs
9+
NAME: 1
10+
FORCE: 1
11+
VERSION: 1
12+
GIT_TAG: 1
13+
DOWNLOAD_ONLY: 1
14+
GITHUB_REPOSITORY: 1
15+
GITLAB_REPOSITORY: 1
16+
GIT_REPOSITORY: 1
17+
SVN_REPOSITORY: 1
18+
SVN_REVISION: 1
19+
SOURCE_DIR: 1
20+
DOWNLOAD_COMMAND: 1
21+
FIND_PACKAGE_ARGUMENTS: 1
22+
NO_CACHE: 1
23+
GIT_SHALLOW: 1
24+
URL: 1
25+
URL_HASH: 1
26+
URL_MD5: 1
27+
DOWNLOAD_NAME: 1
28+
DOWNLOAD_NO_EXTRACT: 1
29+
HTTP_USERNAME: 1
30+
HTTP_PASSWORD: 1
31+
EXCLUDE_FROM_ALL: 1
32+
SYSTEM: 1
33+
SOURCE_SUBDIR: 1
34+
OPTIONS: +
35+
cpmfindpackage:
36+
pargs:
37+
nargs: '*'
38+
flags: []
39+
spelling: CPMFindPackage
40+
kwargs: *cpmaddpackagekwargs
41+
cpmdeclarepackage:
42+
pargs:
43+
nargs: '*'
44+
flags: []
45+
spelling: CPMDeclarePackage
46+
kwargs: *cpmaddpackagekwargs
47+
packageproject:
48+
pargs:
49+
nargs: '*'
50+
flags: []
51+
spelling: packageProject
52+
kwargs:
53+
NAME: 1
54+
VERSION: 1
55+
INCLUDE_DIR: 1
56+
INCLUDE_DESTINATION: 1
57+
BINARY_DIR: 1
58+
COMPATIBILITY: 1
59+
VERSION_HEADER: 1
60+
DEPENDENCIES: +
61+
cpmusepackagelock:
62+
pargs: 1
63+
spelling: CPMUsePackageLock
64+
cpmregisterpackage:
65+
pargs: 1
66+
spelling: CPMRegisterPackage
67+
cpmgetpackageversion:
68+
pargs: 2
69+
spelling: CPMGetPackageVersion

0 commit comments

Comments
 (0)