Skip to content

Commit

Permalink
Update to IOSqueak, Goldilocks, Build System 3.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
CodeMouse92 committed Feb 28, 2021
1 parent 883e594 commit 39c7e48
Show file tree
Hide file tree
Showing 19 changed files with 1,165 additions and 852 deletions.
104 changes: 104 additions & 0 deletions .clang-format
Original file line number Diff line number Diff line change
@@ -0,0 +1,104 @@
---
# Revision: 27 February 2021
Language: Cpp
# https://releases.llvm.org/9.0.0/tools/clang/docs/ClangFormatStyleOptions.html

AccessModifierOffset: -4
AlignAfterOpenBracket: Align
AlignConsecutiveAssignments: false
AlignConsecutiveDeclarations: false
AlignEscapedNewlines: Left
AlignOperands: true
AlignTrailingComments: true
AllowAllArgumentsOnNextLine: false
AllowAllParametersOfDeclarationOnNextLine: true
AllowShortBlocksOnASingleLine: true # Empty for clang-format-11
AllowShortCaseLabelsOnASingleLine: false
AllowShortFunctionsOnASingleLine: All
AllowShortIfStatementsOnASingleLine: Never
AllowShortLambdasOnASingleLine: Inline
AllowShortLoopsOnASingleLine: false
AlwaysBreakAfterReturnType: None
AlwaysBreakBeforeMultilineStrings: false
AlwaysBreakTemplateDeclarations: MultiLine
BinPackArguments: false
BinPackParameters: false
BreakBeforeBinaryOperators: None
BreakBeforeBraces: Linux # a.k.a. OTBS
BreakBeforeTernaryOperators: true
BreakConstructorInitializers: BeforeColon
BreakInheritanceList: BeforeColon
BreakStringLiterals: true
ColumnLimit: 80
CommentPragmas: '^ IWYU pragma:'
CompactNamespaces: false
ConstructorInitializerAllOnOneLineOrOnePerLine: false
ConstructorInitializerIndentWidth: 0
ContinuationIndentWidth: 4
Cpp11BracedListStyle: true
DerivePointerAlignment: false
DisableFormat: false
ExperimentalAutoDetectBinPacking: false
FixNamespaceComments: true
ForEachMacros:
- foreach
- Q_FOREACH
- BOOST_FOREACH
IncludeBlocks: Regroup
IncludeCategories:
- Regex: '^<.*'
Priority: 1
- Regex: '^(<|")(cairo|eigen|eventpp|opus|pugixml|sdl2)'
Priority: 2
- Regex: '^(<|")(arctic-tern|goldilocks|iosqueak|nimbly|onestring|simplexpress)'
Priority: 3
- Regex: '^(<|")(anari|ratscript|stormsound|trailcrest)'
Priority: 4
- Regex: '^".*'
Priority: 5
IncludeIsMainRegex: '(_tests)?$'
# IndentCaseBlocks: false # clang-format-11 only
IndentCaseLabels: true
# IndentGotoLabels: false # clang-format-11 only
IndentPPDirectives: None
IndentWidth: 4
IndentWrappedFunctionNames: false
KeepEmptyLinesAtTheStartOfBlocks: false
MacroBlockBegin: ''
MacroBlockEnd: ''
MaxEmptyLinesToKeep: 1
NamespaceIndentation: Inner
PenaltyBreakAssignment: 2
PenaltyBreakBeforeFirstCallParameter: 500
PenaltyBreakComment: 300
PenaltyBreakFirstLessLess: 120
PenaltyBreakString: 1000
PenaltyBreakTemplateDeclaration: 400
PenaltyExcessCharacter: 1000000
PenaltyReturnTypeOnItsOwnLine: 500
PointerAlignment: Left
ReflowComments: true
SortIncludes: true
SortUsingDeclarations: true
SpaceAfterCStyleCast: false
SpaceAfterLogicalNot: false # DISCUSS
SpaceAfterTemplateKeyword: false
SpaceBeforeAssignmentOperators: true
SpaceBeforeCpp11BracedList: false
SpaceBeforeCtorInitializerColon: true
SpaceBeforeInheritanceColon: true
SpaceBeforeParens: ControlStatements
SpaceBeforeRangeBasedForLoopColon: true
# SpaceBeforeSquareBrackets: false # clang-format-11 only
# SpaceInEmptyBlock: false # clang-format-11 only
SpaceInEmptyParentheses: false
SpacesBeforeTrailingComments: 2
SpacesInAngles: false
SpacesInCStyleCastParentheses: false
# SpacesInConditionalStatement: false # clang-format-11 only
SpacesInContainerLiterals: false
SpacesInParentheses: false
SpacesInSquareBrackets: false
Standard: Cpp11 # Cpp17 on clang-format-11
TabWidth: 4
UseTab: ForContinuationAndIndentation
264 changes: 246 additions & 18 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,23 +1,251 @@
*.a
# .gitignore (MousePaw Media Build System)
# Version: 3.2.0
# Based in part on https://github.com/github/gitignore

# CHANGE: Project "ready" directory (MUST have leading slash)
/stormsound/

# Tester symlinks
tester
tester_debug

# Documentation build
/docs/_build/
/docs/build/

# C/C++ compilation artifacts
*.d
*.elf
*.exp
*.gch
*.ilk
*.ko
*.lo
*.mod
*.o
*.obj
*.pch
*.slo
*.smod

# C/C++ Debug files
*.dSYM/
*.idb
*.pdb
*.su

# C/C++ Binary artifacts
*.a
*.app
*.dll
*.dylib
*.exe
*.hex
*.i*86
*.la
*.lai
*.lib
*.lo
*.out
*.so
*.so.*
*.x86_64

# Build directories
bin/
build_temp/
build/
lib/
libs/
obj/

# CMake local configuration
_deps
*.config
cmake_install.cmake
CMakeCache.txt
CMakeFiles
CMakeLists.txt.user
CMakeScripts
compile_commands.json
CTestTestfile.cmake
install_manifest.txt
Testing

!default.config

# Python (and tool) artifacts
__pycache__/
__pypackages__/
.cache
.coverage
.coverage.*
.dmypy.json
.eggs/
.hypothesis/
.installed.cfg
.ipynb_checkpoints
.mypy_cache/
.nox/
.pybuilder/
.pyre/
.pytest_cache/
.Python
.pytype/
.tox/
*.cover
*.egg
*.egg-info/
*.manifest
*.py,cover
*.py[cod]
*.spec
*$py.class
build/
cover/
coverage.xml
cython_debug/
develop-eggs/
dist/
dmypy.json
downloads/
eggs/
htmlcov/
ipython_config.py
lib/
lib64/
MANIFEST
nosetests.xml
parts/
pip-delete-this-directory.txt
pip-log.txt
profile_default/
sdist/
share/python-wheels/
target/
var/
wheels/

# Python virtual environments
.env
.pk
.pem
.pub
.venv
env/
venv/
ENV/
env.bak/
venv.bak/

# Translation artifacts
*.mo
*.pot

# IDE cruft
.anjuta_sym_db.db
.anjuta/
.codelite/
.history/
.kdev4
.netrwhist
.spyderproject
.spyproject
.vscode/*
[._]*.un~
*.code-workspace
*.depend
*.kdev4
*.layout
**/bin
**/obj
**/lib
**/libs
**/build
**/build_temp
stormsound/
!stormsound-source/include/stormsound
docs/build
tester
tester_debug
*.config
!default.config
codealike.json
Session.vim
Sessionx.vim

!.vscode/c_cpp_properties.json
!.vscode/extensions.json
!.vscode/launch.json
!.vscode/settings.json
!.vscode/tasks.json

# Tags cruft
.TAGS
.tags
cscope.files
cscope.in.out
cscope.out
cscope.po.out
GPATH
GRTAGS
GSYMS
GTAGS
gtags.files
TAGS
tags

!TAGS/
!tags/

# OS cruft
._*
.apdisk
.AppleDB
.AppleDesktop
.AppleDouble
.com.apple.timemachine.donotpresent
.DocumentRevisions-V100
.DS_Store
.fseventsd
.LSOverride
.Spotlight-V100
.TemporaryItems
.Trashes
.VolumeIcon.icns
desktop.ini
Network Trash Folder
Temporary Items
thumbs.db

# VCS cruft
*.diff
*.patch

# Secrets
.asc
.env
.pem
.pk
.pub
secring.*

# Backups
*.bak
*.gho
*.ori
*.orig
*.tmp

# Archives
*.7z
*.bz2
*.bzip
*.bzip2
*.cab
*.gz
*.gzip
*.iso
*.jar
*.lzma
*.rar
*.tar
*.tgz
*.xar
*.xz
*.zip

# Package management formats
*.deb
*.dmg
*.egg
*.gem
*.msi
*.msm
*.msp
*.rpm
*.txz
*.xpi

0 comments on commit 39c7e48

Please sign in to comment.