-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
37 lines (29 loc) · 673 Bytes
/
Copy pathMakefile
File metadata and controls
37 lines (29 loc) · 673 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
run: debug
./build/editor
debug:
cmake \
-DCMAKE_BUILD_TYPE=Debug \
-DCMAKE_INSTALL_PREFIX=install \
-DTEXT_LINE_IMPLEMENTATION=ON \
-B build && cmake --build build
release:
cmake \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=install \
-B build && cmake --build build
install: clean debug
cmake --install build --prefix install
package: clean release
cmake --install build --prefix install
tar -czvf roots.tar.gz -C install .
perf: debug
perf record \
--debuginfod \
--call-graph dwarf,2048 \
./build/editor
@[ -f `which hotspot` ] && hotspot
clean:
rm -rf build
rm -rf install
update:
git submodule update --remote --merge