-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathjustfile
More file actions
20 lines (15 loc) · 731 Bytes
/
Copy pathjustfile
File metadata and controls
20 lines (15 loc) · 731 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
set shell := ["powershell.exe", "-NoProfile", "-c"]
compile-icon:
windres ./resources/resource.rc -O coff -o ./bin/resource.o
test-compile-run:
gcc -O3 -s -flto ./src/window_fx.c -o ./bin/window_fx.exe -lkernel32 -lcomctl32 -lgdi32 -lole32 -luser32 -lshlwapi -lshell32
.\bin\window_fx.exe
compile-release: compile-icon
gcc -O3 -s -flto -mwindows ./src/window_fx.c ./bin/resource.o -o ./bin/window_fx.exe -lkernel32 -lcomctl32 -lgdi32 -lole32 -luser32 -lshlwapi -lshell32
cmake-build:
cmake -B build -DCMAKE_BUILD_TYPE=Release
cmake --build build
cmake-clean-build:
Remove-Item -Recurse -Force -ErrorAction SilentlyContinue build
cmake -B build -DCMAKE_BUILD_TYPE=Release
cmake --build build