mirror of https://github.com/zeldaret/botw.git
lib: Add skeleton for aal
This commit is contained in:
parent
9846d6fef9
commit
225ee27b41
|
@ -34,6 +34,9 @@ target_link_libraries(uking PUBLIC sead)
|
||||||
add_subdirectory(lib/agl)
|
add_subdirectory(lib/agl)
|
||||||
target_link_libraries(uking PUBLIC agl)
|
target_link_libraries(uking PUBLIC agl)
|
||||||
|
|
||||||
|
add_subdirectory(lib/aal)
|
||||||
|
target_link_libraries(uking PRIVATE aal)
|
||||||
|
|
||||||
add_subdirectory(lib/EventFlow)
|
add_subdirectory(lib/EventFlow)
|
||||||
target_link_libraries(uking PRIVATE evfl)
|
target_link_libraries(uking PRIVATE evfl)
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,74 @@
|
||||||
|
---
|
||||||
|
Language: Cpp
|
||||||
|
AccessModifierOffset: -4
|
||||||
|
AlignAfterOpenBracket: Align
|
||||||
|
AlignConsecutiveAssignments: false
|
||||||
|
AlignConsecutiveDeclarations: false
|
||||||
|
AlignOperands: true
|
||||||
|
AlignTrailingComments: true
|
||||||
|
AllowAllParametersOfDeclarationOnNextLine: true
|
||||||
|
AllowShortBlocksOnASingleLine: Never
|
||||||
|
AllowShortCaseLabelsOnASingleLine: false
|
||||||
|
AllowShortFunctionsOnASingleLine: Inline
|
||||||
|
AllowShortIfStatementsOnASingleLine: Never
|
||||||
|
AllowShortLoopsOnASingleLine: false
|
||||||
|
AlwaysBreakAfterDefinitionReturnType: None
|
||||||
|
AlwaysBreakAfterReturnType: None
|
||||||
|
AlwaysBreakBeforeMultilineStrings: false
|
||||||
|
AlwaysBreakTemplateDeclarations: Yes
|
||||||
|
BinPackArguments: true
|
||||||
|
BinPackParameters: true
|
||||||
|
BreakBeforeBinaryOperators: None
|
||||||
|
BreakBeforeBraces: Attach
|
||||||
|
BreakBeforeTernaryOperators: false
|
||||||
|
BreakConstructorInitializersBeforeComma: false
|
||||||
|
ColumnLimit: 100
|
||||||
|
CommentPragmas: '^ (IWYU pragma:|NOLINT)'
|
||||||
|
ConstructorInitializerAllOnOneLineOrOnePerLine: false
|
||||||
|
ConstructorInitializerIndentWidth: 4
|
||||||
|
ContinuationIndentWidth: 4
|
||||||
|
Cpp11BracedListStyle: true
|
||||||
|
DerivePointerAlignment: false
|
||||||
|
DisableFormat: false
|
||||||
|
ForEachMacros: []
|
||||||
|
IncludeCategories:
|
||||||
|
- Regex: '^<[Ww]indows\.h>$'
|
||||||
|
Priority: 1
|
||||||
|
- Regex: '^<'
|
||||||
|
Priority: 2
|
||||||
|
- Regex: '^"'
|
||||||
|
Priority: 3
|
||||||
|
IndentCaseLabels: false
|
||||||
|
IndentWidth: 4
|
||||||
|
IndentWrappedFunctionNames: false
|
||||||
|
KeepEmptyLinesAtTheStartOfBlocks: false
|
||||||
|
MacroBlockBegin: ''
|
||||||
|
MacroBlockEnd: ''
|
||||||
|
MaxEmptyLinesToKeep: 1
|
||||||
|
NamespaceIndentation: None
|
||||||
|
ObjCBlockIndentWidth: 4
|
||||||
|
ObjCSpaceAfterProperty: false
|
||||||
|
ObjCSpaceBeforeProtocolList: true
|
||||||
|
PenaltyBreakBeforeFirstCallParameter: 19
|
||||||
|
PenaltyBreakComment: 300
|
||||||
|
PenaltyBreakFirstLessLess: 120
|
||||||
|
PenaltyBreakString: 1000
|
||||||
|
PenaltyExcessCharacter: 1000000
|
||||||
|
PenaltyReturnTypeOnItsOwnLine: 60
|
||||||
|
PointerAlignment: Left
|
||||||
|
ReflowComments: true
|
||||||
|
SortIncludes: true
|
||||||
|
SpaceAfterCStyleCast: false
|
||||||
|
SpaceBeforeAssignmentOperators: true
|
||||||
|
SpaceBeforeParens: ControlStatements
|
||||||
|
SpaceInEmptyParentheses: false
|
||||||
|
SpacesBeforeTrailingComments: 2
|
||||||
|
SpacesInAngles: false
|
||||||
|
SpacesInContainerLiterals: true
|
||||||
|
SpacesInCStyleCastParentheses: false
|
||||||
|
SpacesInParentheses: false
|
||||||
|
SpacesInSquareBrackets: false
|
||||||
|
Standard: c++17
|
||||||
|
TabWidth: 4
|
||||||
|
UseTab: Never
|
||||||
|
...
|
|
@ -0,0 +1,15 @@
|
||||||
|
project(aal CXX ASM)
|
||||||
|
|
||||||
|
add_library(aal OBJECT
|
||||||
|
src/dummy.cpp
|
||||||
|
)
|
||||||
|
|
||||||
|
target_compile_options(aal PRIVATE -fno-exceptions)
|
||||||
|
target_compile_options(aal PRIVATE -fno-strict-aliasing)
|
||||||
|
target_compile_options(aal PRIVATE -Wno-invalid-offsetof)
|
||||||
|
target_include_directories(aal PUBLIC include/)
|
||||||
|
|
||||||
|
if(NOT TARGET sead)
|
||||||
|
add_subdirectory(../sead)
|
||||||
|
endif()
|
||||||
|
target_link_libraries(aal PUBLIC sead)
|
Loading…
Reference in New Issue