elemental-game/.clang-format
S David 42af043b3f
Some checks reported errors
buildbot/darwin-macos-cmake-builder Build done.
buildbot/freebsd-jail-cmake-builder Build done.
buildbot/linux-podman-cmake-builder Build done.
WIP: Move boilerplate application code to external lib.
Overview
---

- Added: External dependency on IOCore
- Removed:
  - Application.hpp, Application.cpp
  - debuginnfo.hpp,debuginfo.cpp
  - Exception.hpp,Exception.cpp
  - types/legible_ctypes.hpp
  - All references to Boost and execinfo/backtrace.

Additionally:
---

- .clang-format: Switch to modified WebKit code style
- .clang-tidy:   Tweak style for Constexpr  statements
- .clangd:  Re-enable IWYU include directory insertion & analysis

CMakeLists.txt:
  - Replace manual CMake conditionals with prepackaged functions from my
    custom cmake/BuildProperties.cmake CMake module.
  - Bump project version
  - Set project-wide dir variables
  - Add and use CPM Package Manager
  - Add reference to my IOCore application framework library using CPM
  - Remove references to backtrace generation. Now using IOCore
  - Comment out app and demo subdirectories for now.

cmake/BuildProperties.cmake:
  - Move in-source build detection, set project-wide environment
    variables, and other configuration tasks to specific CMake
    functions in a custom CMake module.

cmake/CPM.cmake:  Imported from the CPM Project under MIT License
  - Copyright (c) Lars Melchior and contributors

demo/Phong.hpp,demo/Phong.cpp:
  - Use  new method names. (untested, never compiled)

include/Component.hpp: Unused, Untested changes

Work #28
2024-04-13 16:17:00 -04:00

42 lines
980 B
YAML

---
BasedOnStyle: Mozilla
Language: Cpp
IndentWidth: 8
UseTab: AlignWithSpaces
ColumnLimit: 81
AccessModifierOffset: -4
BinPackParameters: true
AlwaysBreakAfterDefinitionReturnType: None
AlwaysBreakAfterReturnType: None
PenaltyReturnTypeOnItsOwnLine: 50
ContinuationIndentWidth: 4
ConstructorInitializerAllOnOneLineOrOnePerLine: true
ConstructorInitializerIndentWidth: 4
AllowAllArgumentsOnNextLine: true
AlignAfterOpenBracket: BlockIndent
BreakBeforeBraces: WebKit
#BraceWrapping:
# AfterCaseLabel: false
# AfterClass: true
# AfterControlStatement: MultiLine
# AfterEnum: false
# AfterFunction: true
# AfterNamespace: false
# AfterObjCDeclaration: false
# AfterStruct: true
# AfterUnion: true
# AfterExternBlock: false
#
# BeforeCatch: true
# BeforeElse: false
# BeforeLambdaBody: false
# BeforeWhile: false
# IndentBraces: false
# SplitEmptyFunction: true
# SplitEmptyRecord: false
# SplitEmptyNamespace: true
#
---