diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/.clang-format | 14 | ||||
-rw-r--r-- | src/CMakeLists.txt | 2 |
2 files changed, 0 insertions, 16 deletions
diff --git a/src/.clang-format b/src/.clang-format deleted file mode 100644 index 87ad91d..0000000 --- a/src/.clang-format +++ /dev/null @@ -1,14 +0,0 @@ ---- -# The "Linux kernel" style, borrowed and modified from -# https://clang.llvm.org/docs/ClangFormatStyleOptions.html#examples -BasedOnStyle: LLVM -IndentWidth: 8 -UseTab: AlignWithSpaces -BreakBeforeBraces: Linux -AllowShortIfStatementsOnASingleLine: false -IndentCaseLabels: false - -ColumnLimit: 100 -AlignConsecutiveMacros: Consecutive -AllowShortFunctionsOnASingleLine: Empty -BreakStringLiterals: false diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index c85ffdf..d994943 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -1,5 +1,3 @@ -add_compile_options(-std=c17 -Wpedantic -Wall -Wextra $<$<NOT:$<CONFIG:Debug>>:-Werror>) - # Even w/ _POSIX_C_SOURCE=200809L, we still need accept4, pipe2, execvpe, etc., # which are all _GNU_SOURCE-only (at least for glibc). Try compiling without # any features macros defined at all, and prepare to be amazed! |