-
Notifications
You must be signed in to change notification settings - Fork 0
/
bakefile.json
65 lines (54 loc) · 1 KB
/
bakefile.json
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
{
"program": "lab.exe",
"build-stats-file": "build_stats.csv",
"exclude-source": ["*.t.c"],
"c-flags": [
"-std=c17",
"-D_POSIX_C_SOURCE=200101L",
"@!DEBUG: -Ofast",
"@!DEBUG: -DNDEBUG",
"@DEBUG: -O2",
"@DEBUG: -g",
"@WIN: -Ilibs/include",
"@WIN: -DLAB_USE_GLEW",
"-Wall",
"-Wextra",
"-pedantic",
"-Wfatal-errors",
"-pedantic-errors",
"-Winit-self",
"-Winline",
"-Wno-missing-declarations",
"-Wmissing-include-dirs",
"-Wundef",
"-Wredundant-decls",
"-Wfloat-equal",
"-Wmain",
"-Wunreachable-code",
"-Wshadow",
"-Wcast-align",
"-Wswitch-enum",
"-Wno-unused-parameter"
],
"linker-flags": [
"-g",
"-Llibs/lib",
"@WIN: -lmingw32",
"@WIN: -luser32",
"@WIN: -lgdi32",
"@WIN: -lwinmm",
"@WIN: -ldxguid",
"@WIN&32: -lRelease/Win32/glew32",
"@WIN&64: -lRelease/x64/glew32",
"-lSDL2main",
"-lSDL2",
"-lSDL2_image",
"-lSDL2_ttf",
"@WIN: -lopengl32",
"@!WIN: -lGL",
"@!WIN: -lGLU",
"@WIN: -limagehlp",
"@!WIN: -lm",
"@!WIN: -ldl"
]
}