Skip to content

Commit 3db8367

Browse files
committed
Hidden files and directories from NAMCore
1 parent a4136f7 commit 3db8367

4 files changed

Lines changed: 138 additions & 0 deletions

File tree

.clang-format

Lines changed: 79 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,79 @@
1+
AccessModifierOffset: -2
2+
AlignAfterOpenBracket: Align
3+
AlignConsecutiveAssignments: false
4+
AlignConsecutiveDeclarations: false
5+
AlignEscapedNewlines: Right
6+
AlignOperands: true
7+
AlignTrailingComments: false
8+
AllowAllParametersOfDeclarationOnNextLine: false
9+
AllowShortBlocksOnASingleLine: true
10+
AllowShortCaseLabelsOnASingleLine: true
11+
AllowShortFunctionsOnASingleLine: Inline
12+
AllowShortIfStatementsOnASingleLine: false
13+
AllowShortLoopsOnASingleLine: false
14+
AlwaysBreakAfterDefinitionReturnType: None
15+
AlwaysBreakAfterReturnType: None
16+
AlwaysBreakBeforeMultilineStrings: true
17+
AlwaysBreakTemplateDeclarations: true
18+
BinPackArguments: true
19+
BinPackParameters: true
20+
BraceWrapping:
21+
AfterCaseLabel: true
22+
AfterClass: true
23+
AfterControlStatement: true
24+
AfterEnum: true
25+
AfterFunction: true
26+
AfterNamespace: true
27+
AfterStruct: true
28+
AfterUnion: true
29+
BeforeCatch: true
30+
BeforeElse: true
31+
IndentBraces: false
32+
SplitEmptyFunction: true
33+
SplitEmptyRecord: true
34+
SplitEmptyNamespace: true
35+
BreakBeforeBinaryOperators: NonAssignment
36+
BreakBeforeBraces: Custom
37+
BreakBeforeInheritanceComma: false
38+
BreakBeforeTernaryOperators: true
39+
BreakConstructorInitializers: BeforeComma
40+
BreakStringLiterals: true
41+
ColumnLimit: 120
42+
CompactNamespaces: false
43+
ConstructorInitializerAllOnOneLineOrOnePerLine: false
44+
ConstructorInitializerIndentWidth: 0
45+
ContinuationIndentWidth: 2
46+
Cpp11BracedListStyle: true
47+
DerivePointerAlignment: false
48+
FixNamespaceComments: true
49+
IndentCaseLabels: true
50+
IndentPPDirectives: BeforeHash
51+
IndentWidth: 2
52+
IndentWrappedFunctionNames: false
53+
KeepEmptyLinesAtTheStartOfBlocks: true
54+
MaxEmptyLinesToKeep: 2
55+
NamespaceIndentation: None
56+
ObjCBinPackProtocolList: Auto
57+
ObjCBlockIndentWidth: 2
58+
ObjCBreakBeforeNestedBlockParam: true
59+
ObjCSpaceAfterProperty: false
60+
ObjCSpaceBeforeProtocolList: true
61+
PenaltyBreakBeforeFirstCallParameter: 0
62+
PenaltyReturnTypeOnItsOwnLine: 1000
63+
PointerAlignment: Left
64+
ReflowComments: true
65+
SortIncludes: false
66+
SortUsingDeclarations: true
67+
SpaceAfterCStyleCast: false
68+
SpaceAfterTemplateKeyword: true
69+
SpaceBeforeAssignmentOperators: true
70+
SpaceBeforeParens: ControlStatements
71+
SpaceInEmptyParentheses: false
72+
SpacesBeforeTrailingComments: 1
73+
SpacesInAngles: false
74+
SpacesInContainerLiterals: true
75+
SpacesInCStyleCastParentheses: false
76+
SpacesInParentheses: false
77+
SpacesInSquareBrackets: false
78+
Standard: Cpp11
79+
UseTab: Never

.github/workflows/build.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Build
2+
3+
on:
4+
[workflow_dispatch, pull_request]
5+
6+
env:
7+
BUILD_TYPE: Release
8+
9+
jobs:
10+
build-ubuntu:
11+
name: Build Ubuntu
12+
runs-on: ubuntu-latest
13+
steps:
14+
- uses: actions/checkout@v3.3.0
15+
with:
16+
submodules: recursive
17+
18+
- name: Build Tools
19+
working-directory: ${{github.workspace}}/build
20+
env:
21+
CXX: clang++
22+
run: |
23+
cmake .. -DCMAKE_BUILD_TYPE=$BUILD_TYPE
24+
cmake --build . --config $BUILD_TYPE -j4

.gitignore

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
# Prerequisites
2+
*.d
3+
4+
# Compiled Object files
5+
*.slo
6+
*.lo
7+
*.o
8+
*.obj
9+
10+
# Precompiled Headers
11+
*.gch
12+
*.pch
13+
14+
# Compiled Dynamic libraries
15+
*.so
16+
*.dylib
17+
*.dll
18+
19+
# Fortran module files
20+
*.mod
21+
*.smod
22+
23+
# Compiled Static libraries
24+
*.lai
25+
*.la
26+
*.a
27+
*.lib
28+
29+
# Executables
30+
*.exe
31+
*.out
32+
*.app

.gitmodules

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[submodule "Dependencies/eigen"]
2+
path = Dependencies/eigen
3+
url = https://gitlab.com/libeigen/eigen

0 commit comments

Comments
 (0)