Added clang format with mozilla code style
This commit is contained in:
parent
a012551d00
commit
859ca1e0fd
5 changed files with 1613 additions and 1421 deletions
4
Makefile
4
Makefile
|
|
@ -2,6 +2,7 @@
|
|||
####### SRC Build Params #######
|
||||
|
||||
CC=/c/Users/axsau/scoop/apps/gcc/current/bin/g++.exe
|
||||
CF=~/Programming/lib/clang+llvm-10.0.0-x86_64-linux-gnu-ubuntu-18.04/bin/clang-format
|
||||
|
||||
|
||||
####### Shader Build Params #######
|
||||
|
|
@ -25,6 +26,9 @@ build: build_shaders
|
|||
build_shaders:
|
||||
$(SCMP) -V shaders/glsl/computeheadless.comp -o shaders/glsl/computeheadless.comp.spv
|
||||
|
||||
format:
|
||||
$(CF) -i -style=mozilla src/*.cpp src/*.h src/*.hpp
|
||||
|
||||
clean:
|
||||
rm ./bin/main.exe;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue