Browse Source

Added dependencies, clang format

Added submodules for all dependencies, so that I can compile from
source eventually.
master
Macoy Madson 9 months ago
parent
commit
e4eaa0a1f5
5 changed files with 34 additions and 0 deletions
  1. +22
    -0
      .clang-format
  2. +9
    -0
      .gitmodules
  3. +1
    -0
      dependencies/SFML
  4. +1
    -0
      dependencies/imgui
  5. +1
    -0
      dependencies/imgui-sfml

+ 22
- 0
.clang-format View File

@@ -0,0 +1,22 @@
# http://releases.llvm.org/6.0.0/tools/clang/docs/ClangFormatStyleOptions.html
BasedOnStyle: Google
AccessModifierOffset: -4
AllowShortBlocksOnASingleLine: false
AllowShortFunctionsOnASingleLine: None
AllowShortIfStatementsOnASingleLine: false
AllowShortLoopsOnASingleLine: false
BreakBeforeBraces: Allman
BraceWrapping:
AfterNamespace: false
BreakBeforeTernaryOperators: false
ColumnLimit: 100
ConstructorInitializerIndentWidth: 4
ContinuationIndentWidth: 4
IndentWidth: 4
Standard: Cpp11
TabWidth: 4
UseTab: ForIndentation
DerivePointerAlignment: false
PointerAlignment: Left
NamespaceIndentation: None
IndentCaseLabels: true

+ 9
- 0
.gitmodules View File

@@ -0,0 +1,9 @@
[submodule "dependencies/imgui"]
path = dependencies/imgui
url = https://github.com/ocornut/imgui
[submodule "dependencies/imgui-sfml"]
path = dependencies/imgui-sfml
url = https://github.com/eliasdaler/imgui-sfml
[submodule "dependencies/SFML"]
path = dependencies/SFML
url = https://github.com/SFML/SFML

+ 1
- 0
dependencies/SFML

@@ -0,0 +1 @@
Subproject commit 50e173e403ef8912e3d8ac3c7ab3e27e32243339

+ 1
- 0
dependencies/imgui

@@ -0,0 +1 @@
Subproject commit 24bd33ace808ed77fd1840b19f2b8b4789a3ae62

+ 1
- 0
dependencies/imgui-sfml

@@ -0,0 +1 @@
Subproject commit f5aec785a9f6e942d94551313fa359d6d0d094a9

Loading…
Cancel
Save