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 BasedOnStyle: LLVM
AllowShortBlocksOnASingleLine: false AllowShortBlocksOnASingleLine: 'true'
AllowShortCaseLabelsOnASingleLine: true AllowShortCaseLabelsOnASingleLine: 'true'
AllowShortFunctionsOnASingleLine: None AllowShortFunctionsOnASingleLine: Inline
AllowShortIfStatementsOnASingleLine: WithoutElse AllowShortIfStatementsOnASingleLine: WithoutElse
AllowShortLambdasOnASingleLine: Inline AllowShortLambdasOnASingleLine: Inline
AllowShortLoopsOnASingleLine: false AllowShortLoopsOnASingleLine: 'false'
AlwaysBreakBeforeMultilineStrings: true AlwaysBreakBeforeMultilineStrings: 'true'
AlwaysBreakTemplateDeclarations: true IndentWidth: '4'
IndentWidth: 4
ColumnLimit: 100 ColumnLimit: 100
... ...

6
.gitignore vendored
View File

@ -7,7 +7,6 @@
*.lo *.lo
*.o *.o
*.obj *.obj
*.os
# Precompiled Headers # Precompiled Headers
*.gch *.gch
@ -33,8 +32,3 @@
*.out *.out
*.app *.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'))