Skip to content

Commit 398b6bf

Browse files
committed
init
1 parent 9e7ab77 commit 398b6bf

460 files changed

Lines changed: 119160 additions & 227 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.clang-format

Lines changed: 166 additions & 167 deletions
Original file line numberDiff line numberDiff line change
@@ -1,167 +1,166 @@
1-
---
2-
Language: Cpp
3-
BasedOnStyle: Google
4-
AccessModifierOffset: -4
5-
AlignAfterOpenBracket: Align
6-
AlignConsecutiveMacros: true
7-
AlignConsecutiveAssignments: true
8-
AlignConsecutiveDeclarations: false
9-
AlignEscapedNewlines: Left
10-
AlignOperands: true
11-
AlignTrailingComments: true
12-
AllowAllArgumentsOnNextLine: true
13-
AllowAllConstructorInitializersOnNextLine: true
14-
AllowAllParametersOfDeclarationOnNextLine: true
15-
AllowShortBlocksOnASingleLine: Never
16-
AllowShortCaseLabelsOnASingleLine: false
17-
AllowShortFunctionsOnASingleLine: false
18-
AllowShortLambdasOnASingleLine: All
19-
AllowShortIfStatementsOnASingleLine: WithoutElse
20-
AllowShortLoopsOnASingleLine: true
21-
AlwaysBreakAfterDefinitionReturnType: None
22-
AlwaysBreakAfterReturnType: None
23-
AlwaysBreakBeforeMultilineStrings: true
24-
AlwaysBreakTemplateDeclarations: Yes
25-
BinPackArguments: true
26-
BinPackParameters: true
27-
BraceWrapping:
28-
AfterCaseLabel: false
29-
AfterClass: false
30-
AfterControlStatement: false
31-
AfterEnum: false
32-
AfterFunction: true
33-
AfterNamespace: false
34-
AfterObjCDeclaration: false
35-
AfterStruct: false
36-
AfterUnion: false
37-
AfterExternBlock: false
38-
BeforeCatch: false
39-
BeforeElse: false
40-
IndentBraces: false
41-
SplitEmptyFunction: true
42-
SplitEmptyRecord: true
43-
SplitEmptyNamespace: true
44-
BreakBeforeBinaryOperators: None
45-
BreakBeforeBraces: Custom
46-
BreakBeforeInheritanceComma: false
47-
BreakInheritanceList: BeforeColon
48-
BreakBeforeTernaryOperators: true
49-
BreakConstructorInitializersBeforeComma: false
50-
BreakConstructorInitializers: BeforeColon
51-
BreakAfterJavaFieldAnnotations: false
52-
BreakStringLiterals: true
53-
ColumnLimit: 120
54-
CommentPragmas: '^ IWYU pragma:'
55-
CompactNamespaces: false
56-
ConstructorInitializerAllOnOneLineOrOnePerLine: true
57-
ConstructorInitializerIndentWidth: 4
58-
ContinuationIndentWidth: 4
59-
Cpp11BracedListStyle: true
60-
DeriveLineEnding: true
61-
DerivePointerAlignment: true
62-
DisableFormat: false
63-
ExperimentalAutoDetectBinPacking: false
64-
FixNamespaceComments: true
65-
ForEachMacros:
66-
- foreach
67-
- Q_FOREACH
68-
- BOOST_FOREACH
69-
IncludeBlocks: Regroup
70-
IncludeCategories:
71-
- Regex: '^<ext/.*\.h>'
72-
Priority: 2
73-
SortPriority: 0
74-
- Regex: '^<.*\.h>'
75-
Priority: 1
76-
SortPriority: 0
77-
- Regex: '^<.*'
78-
Priority: 2
79-
SortPriority: 0
80-
- Regex: '.*'
81-
Priority: 3
82-
SortPriority: 0
83-
IncludeIsMainRegex: '([-_](test|unittest))?$'
84-
IncludeIsMainSourceRegex: ''
85-
IndentCaseLabels: true
86-
IndentGotoLabels: true
87-
IndentPPDirectives: None
88-
IndentWidth: 4
89-
IndentWrappedFunctionNames: false
90-
JavaScriptQuotes: Leave
91-
JavaScriptWrapImports: true
92-
KeepEmptyLinesAtTheStartOfBlocks: false
93-
MacroBlockBegin: ''
94-
MacroBlockEnd: ''
95-
MaxEmptyLinesToKeep: 1
96-
NamespaceIndentation: None
97-
ObjCBinPackProtocolList: Never
98-
ObjCBlockIndentWidth: 2
99-
ObjCSpaceAfterProperty: false
100-
ObjCSpaceBeforeProtocolList: true
101-
PenaltyBreakAssignment: 2
102-
PenaltyBreakBeforeFirstCallParameter: 1
103-
PenaltyBreakComment: 300
104-
PenaltyBreakFirstLessLess: 120
105-
PenaltyBreakString: 1000
106-
PenaltyBreakTemplateDeclaration: 10
107-
PenaltyExcessCharacter: 1000000
108-
PenaltyReturnTypeOnItsOwnLine: 200
109-
PointerAlignment: Left
110-
RawStringFormats:
111-
- Language: Cpp
112-
Delimiters:
113-
- cc
114-
- CC
115-
- cpp
116-
- Cpp
117-
- CPP
118-
- 'c++'
119-
- 'C++'
120-
CanonicalDelimiter: ''
121-
BasedOnStyle: google
122-
- Language: TextProto
123-
Delimiters:
124-
- pb
125-
- PB
126-
- proto
127-
- PROTO
128-
EnclosingFunctions:
129-
- EqualsProto
130-
- EquivToProto
131-
- PARSE_PARTIAL_TEXT_PROTO
132-
- PARSE_TEST_PROTO
133-
- PARSE_TEXT_PROTO
134-
- ParseTextOrDie
135-
- ParseTextProtoOrDie
136-
CanonicalDelimiter: ''
137-
BasedOnStyle: google
138-
ReflowComments: true
139-
SortIncludes: false
140-
SortUsingDeclarations: true
141-
SpaceAfterCStyleCast: false
142-
SpaceAfterLogicalNot: false
143-
SpaceAfterTemplateKeyword: true
144-
SpaceBeforeAssignmentOperators: true
145-
SpaceBeforeCpp11BracedList: false
146-
SpaceBeforeCtorInitializerColon: true
147-
SpaceBeforeInheritanceColon: true
148-
SpaceBeforeParens: ControlStatements
149-
SpaceBeforeRangeBasedForLoopColon: true
150-
SpaceInEmptyBlock: false
151-
SpaceInEmptyParentheses: false
152-
SpacesBeforeTrailingComments: 2
153-
SpacesInAngles: false
154-
SpacesInConditionalStatement: false
155-
SpacesInContainerLiterals: true
156-
SpacesInCStyleCastParentheses: false
157-
SpacesInParentheses: false
158-
SpacesInSquareBrackets: false
159-
SpaceBeforeSquareBrackets: false
160-
Standard: Auto
161-
StatementMacros:
162-
- Q_UNUSED
163-
- QT_REQUIRE_VERSION
164-
TabWidth: 4
165-
UseCRLF: false
166-
UseTab: Never
167-
...
1+
---
2+
Language: Cpp
3+
BasedOnStyle: Google
4+
AccessModifierOffset: -4
5+
AlignAfterOpenBracket: Align
6+
AlignConsecutiveMacros: true
7+
AlignConsecutiveAssignments: true
8+
AlignConsecutiveDeclarations: false
9+
AlignEscapedNewlines: Left
10+
AlignOperands: true
11+
AlignTrailingComments: true
12+
AllowAllArgumentsOnNextLine: true
13+
AllowAllConstructorInitializersOnNextLine: true
14+
AllowAllParametersOfDeclarationOnNextLine: true
15+
AllowShortBlocksOnASingleLine: Never
16+
AllowShortCaseLabelsOnASingleLine: false
17+
AllowShortFunctionsOnASingleLine: false
18+
AllowShortLambdasOnASingleLine: All
19+
AllowShortIfStatementsOnASingleLine: WithoutElse
20+
AllowShortLoopsOnASingleLine: true
21+
AlwaysBreakAfterDefinitionReturnType: None
22+
AlwaysBreakAfterReturnType: None
23+
AlwaysBreakBeforeMultilineStrings: true
24+
AlwaysBreakTemplateDeclarations: Yes
25+
BinPackArguments: true
26+
BinPackParameters: true
27+
BraceWrapping:
28+
AfterCaseLabel: false
29+
AfterClass: false
30+
AfterControlStatement: false
31+
AfterEnum: false
32+
AfterFunction: true
33+
AfterNamespace: false
34+
AfterObjCDeclaration: false
35+
AfterStruct: false
36+
AfterUnion: false
37+
AfterExternBlock: false
38+
BeforeCatch: false
39+
BeforeElse: false
40+
IndentBraces: false
41+
SplitEmptyFunction: true
42+
SplitEmptyRecord: true
43+
SplitEmptyNamespace: true
44+
BreakBeforeBinaryOperators: None
45+
BreakBeforeBraces: Custom
46+
BreakBeforeInheritanceComma: false
47+
BreakInheritanceList: BeforeColon
48+
BreakBeforeTernaryOperators: true
49+
BreakConstructorInitializersBeforeComma: false
50+
BreakConstructorInitializers: BeforeColon
51+
BreakAfterJavaFieldAnnotations: false
52+
BreakStringLiterals: true
53+
ColumnLimit: 120
54+
CommentPragmas: '^ IWYU pragma:'
55+
CompactNamespaces: false
56+
ConstructorInitializerAllOnOneLineOrOnePerLine: true
57+
ConstructorInitializerIndentWidth: 4
58+
ContinuationIndentWidth: 4
59+
Cpp11BracedListStyle: true
60+
DeriveLineEnding: true
61+
DerivePointerAlignment: true
62+
DisableFormat: false
63+
ExperimentalAutoDetectBinPacking: false
64+
FixNamespaceComments: true
65+
ForEachMacros:
66+
- foreach
67+
- Q_FOREACH
68+
- BOOST_FOREACH
69+
IncludeBlocks: Regroup
70+
IncludeCategories:
71+
- Regex: '^<ext/.*\.h>'
72+
Priority: 2
73+
SortPriority: 0
74+
- Regex: '^<.*\.h>'
75+
Priority: 1
76+
SortPriority: 0
77+
- Regex: '^<.*'
78+
Priority: 2
79+
SortPriority: 0
80+
- Regex: '.*'
81+
Priority: 3
82+
SortPriority: 0
83+
IncludeIsMainRegex: '([-_](test|unittest))?$'
84+
IncludeIsMainSourceRegex: ''
85+
IndentCaseLabels: true
86+
IndentGotoLabels: true
87+
IndentPPDirectives: None
88+
IndentWidth: 4
89+
IndentWrappedFunctionNames: false
90+
JavaScriptQuotes: Leave
91+
JavaScriptWrapImports: true
92+
KeepEmptyLinesAtTheStartOfBlocks: false
93+
MacroBlockBegin: ''
94+
MacroBlockEnd: ''
95+
MaxEmptyLinesToKeep: 1
96+
NamespaceIndentation: None
97+
ObjCBinPackProtocolList: Never
98+
ObjCBlockIndentWidth: 2
99+
ObjCSpaceAfterProperty: false
100+
ObjCSpaceBeforeProtocolList: true
101+
PenaltyBreakAssignment: 2
102+
PenaltyBreakBeforeFirstCallParameter: 1
103+
PenaltyBreakComment: 300
104+
PenaltyBreakFirstLessLess: 120
105+
PenaltyBreakString: 1000
106+
PenaltyBreakTemplateDeclaration: 10
107+
PenaltyExcessCharacter: 1000000
108+
PenaltyReturnTypeOnItsOwnLine: 200
109+
PointerAlignment: Left
110+
RawStringFormats:
111+
- Language: Cpp
112+
Delimiters:
113+
- cc
114+
- CC
115+
- cpp
116+
- Cpp
117+
- CPP
118+
- 'c++'
119+
- 'C++'
120+
CanonicalDelimiter: ''
121+
BasedOnStyle: google
122+
- Language: TextProto
123+
Delimiters:
124+
- pb
125+
- PB
126+
- proto
127+
- PROTO
128+
EnclosingFunctions:
129+
- EqualsProto
130+
- EquivToProto
131+
- PARSE_PARTIAL_TEXT_PROTO
132+
- PARSE_TEST_PROTO
133+
- PARSE_TEXT_PROTO
134+
- ParseTextOrDie
135+
- ParseTextProtoOrDie
136+
CanonicalDelimiter: ''
137+
BasedOnStyle: google
138+
ReflowComments: true
139+
SortIncludes: false
140+
SortUsingDeclarations: true
141+
SpaceAfterCStyleCast: false
142+
SpaceAfterLogicalNot: false
143+
SpaceAfterTemplateKeyword: true
144+
SpaceBeforeAssignmentOperators: true
145+
SpaceBeforeCpp11BracedList: false
146+
SpaceBeforeCtorInitializerColon: true
147+
SpaceBeforeInheritanceColon: true
148+
SpaceBeforeParens: ControlStatements
149+
SpaceBeforeRangeBasedForLoopColon: true
150+
SpaceInEmptyBlock: false
151+
SpaceInEmptyParentheses: false
152+
SpacesBeforeTrailingComments: 2
153+
SpacesInAngles: false
154+
SpacesInConditionalStatement: false
155+
SpacesInContainerLiterals: true
156+
SpacesInCStyleCastParentheses: false
157+
SpacesInParentheses: false
158+
SpacesInSquareBrackets: false
159+
SpaceBeforeSquareBrackets: false
160+
Standard: Auto
161+
StatementMacros:
162+
- Q_UNUSED
163+
- QT_REQUIRE_VERSION
164+
TabWidth: 4
165+
UseCRLF: false
166+
UseTab: Never

.gitignore

Lines changed: 5 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,5 @@
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
1+
.cache
2+
.vscode
3+
build
4+
dependencies
5+
.DS_Store

CMakeLists.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
cmake_minimum_required(VERSION 3.10)
2+
project(MC_APP_BOILERPLATE VERSION 0.1.0 LANGUAGES C CXX)
3+
4+
include(platforms/desktop/CMakeLists.txt)

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,4 @@ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
1818
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
1919
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
2020
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21-
SOFTWARE.
21+
SOFTWARE.

0 commit comments

Comments
 (0)