Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cmake, dependency management, and formatting project updates #90

Open
wants to merge 2 commits into
base: dev
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 17 additions & 6 deletions .clang-format
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ AllowShortLambdasOnASingleLine: All
AllowShortBlocksOnASingleLine: Always
AllowShortIfStatementsOnASingleLine: WithoutElse
AllowShortLoopsOnASingleLine: true
AlwaysBreakTemplateDeclarations: Yes
AlwaysBreakTemplateDeclarations: true
BraceWrapping:
AfterCaseLabel: true
AfterClass: true
Expand All @@ -34,28 +34,39 @@ BraceWrapping:
SplitEmptyRecord: true
SplitEmptyNamespace: true
BreakAfterAttributes: Never
BreakAfterReturnType: Automatic
BreakBeforeBraces: Allman
ColumnLimit: 160
CompactNamespaces: false
FixNamespaceComments: true
IndentPPDirectives: BeforeHash
IndentWidth: 4
IncludeBlocks: Regroup
IncludeCategories:
# Headers in <> with .h extension.
- Regex: '<([A-Za-z0-9\/-_])+\.h>'
Priority: 10
SortPriority: 3
# Headers in <> with .hpp extension.
- Regex: '<([A-Za-z0-9\/-_])+\.hpp>'
Priority: 20
Priority: 10
SortPriority: 2
# Headers in <> without an extension.
- Regex: '<([A-Za-z0-9\/-_])+>'
Priority: 30
Priority: 10
# all library includes wrapped in ""
# main header should be the topmost
- Regex: '".*"'
SortPriority: 1
IncludeIsMainRegex: '""'
IncludeIsMainSourceRegex: '""'
NamespaceIndentation: All
PointerAlignment: Middle
ReflowComments: true
PPIndentWidth: 4
SpaceAfterTemplateKeyword: true
PenaltyReturnTypeOnItsOwnLine: 1
PenaltyBreakOpenParenthesis: 250
Standard: c++20
TabWidth: 4
UseTab: Always



3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "extern/vcpkg"]
path = extern/vcpkg
url = https://github.com/microsoft/vcpkg
Loading
Loading