Compare commits

..

No commits in common. "21ff6eec817dc0fdead763e9360e5959a93da03c" and "a24ee6a687aa4f8b65320ae29e9f528702a23930" have entirely different histories.

4 changed files with 17 additions and 20 deletions

View File

@ -1,14 +1,13 @@
---
BasedOnStyle: LLVM
AllowShortBlocksOnASingleLine: false
AllowShortCaseLabelsOnASingleLine: true
AllowShortFunctionsOnASingleLine: None
AllowShortBlocksOnASingleLine: 'true'
AllowShortCaseLabelsOnASingleLine: 'true'
AllowShortFunctionsOnASingleLine: Inline
AllowShortIfStatementsOnASingleLine: WithoutElse
AllowShortLambdasOnASingleLine: Inline
AllowShortLoopsOnASingleLine: false
AlwaysBreakBeforeMultilineStrings: true
AlwaysBreakTemplateDeclarations: true
IndentWidth: 4
AllowShortLoopsOnASingleLine: 'false'
AlwaysBreakBeforeMultilineStrings: 'true'
IndentWidth: '4'
ColumnLimit: 100
...

6
.gitignore vendored
View File

@ -7,7 +7,6 @@
*.lo
*.o
*.obj
*.os
# Precompiled Headers
*.gch
@ -33,8 +32,3 @@
*.out
*.app
# SConstruct
**/.sconsign.dblite
compile_commands.json
.cache/

11
Makefile Normal file
View File

@ -0,0 +1,11 @@
CXX = g++
CXXFLAGS = -Wall -O3
program: main.o
$(CXX) $(CXXFLAGS) -o program.out main.o
main.o: main.cpp
$(CXX) $(CXXFLAGS) -c main.cpp
clean :
-rm *.o *.out

View File

@ -1,7 +0,0 @@
#!python
# Create the environment and create a Compilation Database for use in VSCodium
env = DefaultEnvironment(tools=['default', 'compilation_db'])
env.CompilationDatabase()
Program('program.out', Glob('*.cpp'))