-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathjustfile
More file actions
39 lines (29 loc) · 755 Bytes
/
Copy pathjustfile
File metadata and controls
39 lines (29 loc) · 755 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
[doc("Show this help message")]
help:
just -l
[doc("Configure CMake")]
cmake:
cmake -S . -B build -G "Ninja Multi-Config"
[doc("Deleting build directory")]
clean:
rm -rf build/
[doc("Build debug app")]
build_debug: cmake
cmake --build build --config Debug
alias build := build_debug
[doc("Build release app")]
build_release: cmake
cmake --build build --config Release
[doc("Update CPM")]
update_cpm:
scripts/update_cpm.sh
[doc("Run debug app")]
run_debug NAME: build_debug
build/bin/Debug/{{NAME}}
alias run := run_debug
[doc("Run release app")]
run_release NAME: build_release
build/bin/Release/{{NAME}}
lint:
cpplint --filter=-build/include_order --recursive apps
cpplint --filter=-build/include_order --recursive libs