mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2024-12-29 11:06:18 +00:00
cc4007a69e
We now have a cmake-format config file. We no longer use list variables for sources, instead using target_sources when we need to add, in accordance with current best practice. (This makes it a lot easier to edit too.) There's no more include_directories(), add_definitions(), or other gently-deprecated directory-scoped commands, nor any CMake scripts that include a parent directory reference (named targets instead)
24 lines
452 B
Python
24 lines
452 B
Python
# SPDX-FileCopyrightText: 2021, Collabora, Ltd.
|
|
# SPDX-License-Identifier: CC0-1.0
|
|
|
|
with section("format"):
|
|
line_width = 100
|
|
tab_size = 8
|
|
use_tabchars = True
|
|
fractional_tab_policy = "use-space"
|
|
|
|
max_prefix_chars = 4
|
|
|
|
dangle_parens = True
|
|
dangle_align = "prefix-indent"
|
|
max_pargs_hwrap = 4
|
|
max_rows_cmdline = 1
|
|
|
|
keyword_case = 'upper'
|
|
|
|
|
|
# Do not reflow comments
|
|
|
|
with section("markup"):
|
|
enable_markup = False
|