Added clang format with mozilla code style

This commit is contained in:
Alejandro Saucedo 2020-07-30 09:06:52 +01:00
parent a012551d00
commit 859ca1e0fd
5 changed files with 1613 additions and 1421 deletions

View file

@ -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;