blob: 30f1f1b20367fa612c99499686ead5a8ef200990 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
debug:
mkdir -p Debug
cmake -DCMAKE_BUILD_TYPE=Debug -B Debug
cmake --build Debug
release:
mkdir -p Release
cmake -DCMAKE_BUILD_TYPE=Release -B Release
cmake --build Release
profile:
mkdir -p Profile
cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo -B Profile
cmake --build Profile
valgrind --tool=callgrind --dump-instr=yes --callgrind-out-file=callgrind.out ./Profile/main 100MB.json 1
kcachegrind callgrind.out
test:
fish generate.fish
make debug
./Debug/test
format:
clang-format -i src/*.c include/*.h tests/*.c *.c
|