Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
V
vcsetup
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ag-ohlberger
dune-community
vcsetup
Commits
55b26d14
Verified
Commit
55b26d14
authored
6 years ago
by
René Fritze
Browse files
Options
Downloads
Patches
Plain Diff
adds cmake-format config from xt-common
parent
7412205a
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.cmake_format.py
+41
-0
41 additions, 0 deletions
.cmake_format.py
with
41 additions
and
0 deletions
.cmake_format.py
0 → 100644
+
41
−
0
View file @
55b26d14
# ~~~
# This file is part of the dune-xt-common project:
# https://github.com/dune-community/dune-xt-common
# Copyright 2009-2018 dune-xt-common developers and contributors. All rights reserved.
# License: Dual licensed as BSD 2-Clause License (http://opensource.org/licenses/BSD-2-Clause)
# Authors:
# Rene Milk (2018)
#
# How wide to allow formatted cmake files
# ~~~
line_width
=
119
# How many spaces to tab for indent
tab_size
=
2
# If arglists are longer than this, break them always
max_subargs_per_line
=
3
# If true, separate flow control names from their parentheses with a space
separate_ctrl_name_with_space
=
False
# If true, separate function names from parentheses with a space
separate_fn_name_with_space
=
False
# If a statement is wrapped to more than one line, than dangle the closing
# parenthesis on it's own line
dangle_parens
=
False
# What character to use for bulleted lists
bullet_char
=
'
*
'
# What character to use as punctuation after numerals in an enumerated list
enum_char
=
'
.
'
# What style line endings to use in the output.
line_ending
=
'
unix
'
# Format command names with this case. Options are "lower", "upper",
# "unchanged"
command_case
=
u
'
lower
'
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment