-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
17 lines (13 loc) · 531 Bytes
/
Makefile
File metadata and controls
17 lines (13 loc) · 531 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
MSBUILD := "C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe"
.PHONY: build
build:
${MSBUILD} "codxe.sln"
.PHONY: clean
clean:
${MSBUILD} "codxe.sln" /t:Clean
.PHONY: format
format:
powershell -Command "Get-ChildItem -Path src -Recurse -Include *.cpp,*.hpp,*.h,*.c | ForEach-Object { clang-format --style=file -i $$_.FullName }"
.PHONY: format-check
format-check:
powershell -Command "Get-ChildItem -Path src -Recurse -Include *.cpp,*.hpp,*.h,*.c | ForEach-Object { clang-format --dry-run --Werror $$_.FullName }"