https://github.com/Kitware/CMake
Revision 2642f432ef05d083da66c0b24cd10d655f951186 authored by Eli Schwartz on 31 March 2020, 03:07:37 UTC, committed by Eli Schwartz on 31 March 2020, 16:01:40 UTC
The vim, emacs, and bash support files are not internal CMake resources
and so do not belong under `CMAKE_DATA_DIR`.  Move them over to proper
places under the `CMAKE_XDGDATA_DIR` as we do already for cmake-gui
desktop files and `cmake.m4`.

Fixes: #20522
1 parent 529d729
Raw File
Tip revision: 2642f432ef05d083da66c0b24cd10d655f951186 authored by Eli Schwartz on 31 March 2020, 03:07:37 UTC
Aux: Install editor and bash files to more natural locations
Tip revision: 2642f43
.clang-format
---
# This configuration requires clang-format version 6.0 exactly.
BasedOnStyle: Mozilla
AlignOperands: false
AllowShortFunctionsOnASingleLine: InlineOnly
AlwaysBreakAfterDefinitionReturnType: None
AlwaysBreakAfterReturnType: None
BinPackArguments: true
BinPackParameters: true
BraceWrapping:
  AfterClass:      true
  AfterEnum:       true
  AfterFunction:   true
  AfterStruct:     true
  AfterUnion:      true
BreakBeforeBraces: Custom
ColumnLimit: 79
IndentPPDirectives: AfterHash
SortUsingDeclarations: false
SpaceAfterTemplateKeyword: true
IncludeBlocks: Regroup
IncludeCategories:
  - Regex:           '^[<"]cmConfigure\.h'
    Priority:        -1
  - Regex:           '^<queue>'
    Priority:        1
  - Regex:           '^(<|")cm(ext)?/'
    Priority:        2
  - Regex:           '^(<|")windows\.h'
    Priority:        3
  - Regex:           '^<sys/'
    Priority:        5
  - Regex:           '^(<|")Qt?[A-Z]'
    Priority:        6
  - Regex:           '^(<|")cmsys/'
    Priority:        7
  - Regex:           '^(<|")cm_'
    Priority:        8
  - Regex:           '^(<|")cm[A-Z][^.]+\.h'
    Priority:        9
  - Regex:           '^<[^.]+\.h'
    Priority:        4
  - Regex:           '^<'
    Priority:        1
  - Regex:           '.*'
    Priority:        10
...
back to top