diff options
author | 3gg <3gg@shellblade.net> | 2025-06-27 09:35:08 -0700 |
---|---|---|
committer | 3gg <3gg@shellblade.net> | 2025-06-27 09:35:08 -0700 |
commit | 65d89cdb758f5486e0d9dcf2ab80b37457f38f13 (patch) | |
tree | cdbab5b40cb3b919fb38e7d14bb0a94f536edef5 |
-rw-r--r-- | .clang-format | 12 | ||||
-rw-r--r-- | CMakeLists.txt | 32 |
2 files changed, 44 insertions, 0 deletions
diff --git a/.clang-format b/.clang-format new file mode 100644 index 0000000..e984d32 --- /dev/null +++ b/.clang-format | |||
@@ -0,0 +1,12 @@ | |||
1 | BasedOnStyle: LLVM | ||
2 | AlignAfterOpenBracket: AlwaysBreak | ||
3 | AlignArrayOfStructures: Right | ||
4 | AlignConsecutiveAssignments: Consecutive | ||
5 | AlignConsecutiveBitFields: Consecutive | ||
6 | AlignConsecutiveDeclarations: Consecutive | ||
7 | AlignConsecutiveMacros: Consecutive | ||
8 | AlignEscapedNewlines: Left | ||
9 | ColumnLimit: 80 | ||
10 | PenaltyReturnTypeOnItsOwnLine: 10000 | ||
11 | PointerAlignment: Left | ||
12 | SortIncludes: CaseSensitive | ||
diff --git a/CMakeLists.txt b/CMakeLists.txt new file mode 100644 index 0000000..b8eb1a9 --- /dev/null +++ b/CMakeLists.txt | |||
@@ -0,0 +1,32 @@ | |||
1 | cmake_minimum_required(VERSION 3.6) | ||
2 | |||
3 | project(src) | ||
4 | |||
5 | set(CMAKE_C_STANDARD 17) | ||
6 | set(CMAKE_C_STANDARD_REQUIRED On) | ||
7 | set(CMAKE_C_EXTENSIONS Off) | ||
8 | |||
9 | set(CMAKE_POSITION_INDEPENDENT_CODE True) | ||
10 | |||
11 | # Libraries. | ||
12 | add_subdirectory(clib) | ||
13 | #add_subdirectory(commander) | ||
14 | #add_subdirectory(cpp) | ||
15 | #add_subdirectory(file) | ||
16 | add_subdirectory(gfx) | ||
17 | add_subdirectory(gp) | ||
18 | #add_subdirectory(htmlpp) | ||
19 | #add_subdirectory(tts/src) | ||
20 | add_subdirectory(math) | ||
21 | add_subdirectory(swgfx) | ||
22 | add_subdirectory(ui) | ||
23 | |||
24 | add_subdirectory(mlisp) | ||
25 | |||
26 | # Applications | ||
27 | add_subdirectory(cppnn) | ||
28 | #add_subdirectory(cuda) | ||
29 | add_subdirectory(lang) | ||
30 | add_subdirectory(neuralnet) | ||
31 | add_subdirectory(swgame) | ||
32 | add_subdirectory(xplorer) | ||