Skip to content
Snippets Groups Projects
Verified Commit 7a5e7451 authored by Lars Bilke's avatar Lars Bilke
Browse files

[cmake-format] Added config file.

parent 2fea938b
No related branches found
No related tags found
No related merge requests found
# E.g. run with: fd CMakeLists.txt Applications/ -x cmake-format -i -c .cmake-format.yaml {}
tab_size: 4
max_subargs_per_line: 4
format:
tab_size: 4
max_subgroups_hwrap: 3
dangle_parens: true
command_case: "unchanged"
parse:
additional_commands:
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: +
VIS: +
ogstest:
pargs:
nargs: '*'
flags:
- DISABLED
spelling: OgsTest
kwargs:
PROJECTFILE: 1
RUNTIME: 1
WRAPPER: +
meshtest:
pargs:
nargs: '*'
flags:
- NONE
spelling: MeshTest
kwargs:
EXECUTABLE: 1
PATH: 1
NAME: 1
WRAPPER: 1
RUNTIME: 1
WORKING_DIRECTORY: 1
EXECUTABLE_ARGS: +
DATA: +
DIFF_DATA:
pargs:
tags:
- cmdline
WRAPPER_ARGS: +
REQUIREMENTS: +
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
......@@ -8,5 +8,5 @@ indent_size = 4
[*.{md,pandoc}]
trim_trailing_whitespace = false
[*.{json,yml,toml,html,css,js,scss}]
[*.{json,yml,yaml,toml,html,css,js,scss}]
indent_size = 2
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment