-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.bob
36 lines (30 loc) · 1021 Bytes
/
build.bob
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
void setup() {
c_executable("foo.exe");
/*buildcommands(
"-Wall",
"-Werror",
"-Os",
"-DCLAY_WASM",
"-mbulk-memory",
"--target=wasm32"
"-nostdlib"
);
linkcommands(
"-Wl,--strip-all",
"-Wl,--export-dynamic",
"-Wl,--no-entry",
"-Wl,--export=__heap_base",
"-Wl,--export=ACTIVE_RENDERER_INDEX",
"-Wl,--initial-memory=6553600"
);*/
sources("bar.c", "baz.c");
end_project();
c_executable("twoo.exe");
sources("bar.c", "baz.c");
buildcommands(
"-Wall",
"-Werror",
"-Os"
);
end_project();
}