Compare commits
2 Commits
a24ee6a687
...
21ff6eec81
Author | SHA1 | Date | |
---|---|---|---|
21ff6eec81 | |||
b56a1d15b5 |
@ -1,13 +1,14 @@
|
||||
---
|
||||
BasedOnStyle: LLVM
|
||||
AllowShortBlocksOnASingleLine: 'true'
|
||||
AllowShortCaseLabelsOnASingleLine: 'true'
|
||||
AllowShortFunctionsOnASingleLine: Inline
|
||||
AllowShortBlocksOnASingleLine: false
|
||||
AllowShortCaseLabelsOnASingleLine: true
|
||||
AllowShortFunctionsOnASingleLine: None
|
||||
AllowShortIfStatementsOnASingleLine: WithoutElse
|
||||
AllowShortLambdasOnASingleLine: Inline
|
||||
AllowShortLoopsOnASingleLine: 'false'
|
||||
AlwaysBreakBeforeMultilineStrings: 'true'
|
||||
IndentWidth: '4'
|
||||
AllowShortLoopsOnASingleLine: false
|
||||
AlwaysBreakBeforeMultilineStrings: true
|
||||
AlwaysBreakTemplateDeclarations: true
|
||||
IndentWidth: 4
|
||||
ColumnLimit: 100
|
||||
|
||||
...
|
||||
|
6
.gitignore
vendored
6
.gitignore
vendored
@ -7,6 +7,7 @@
|
||||
*.lo
|
||||
*.o
|
||||
*.obj
|
||||
*.os
|
||||
|
||||
# Precompiled Headers
|
||||
*.gch
|
||||
@ -32,3 +33,8 @@
|
||||
*.out
|
||||
*.app
|
||||
|
||||
# SConstruct
|
||||
**/.sconsign.dblite
|
||||
compile_commands.json
|
||||
.cache/
|
||||
|
||||
|
11
Makefile
11
Makefile
@ -1,11 +0,0 @@
|
||||
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
|
7
SConstruct
Normal file
7
SConstruct
Normal file
@ -0,0 +1,7 @@
|
||||
#!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'))
|
Loading…
x
Reference in New Issue
Block a user