forked from vittorioromeo/vittorioromeo.info
-
Notifications
You must be signed in to change notification settings - Fork 0
/
cer
executable file
·33 lines (32 loc) · 927 Bytes
/
cer
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
#!/bin/bash
g++ -std=c++14 \
-I/home/vittorioromeo/OHWorkspace/vrm_pp/include \
-I/home/vittorioromeo/OHWorkspace/vrm_core/include \
-pedantic \
-g \
-fsanitize=address \
-W \
-Wall \
-Wextra \
-Wno-unused-local-typedefs \
-Wwrite-strings \
-Wundef \
-Wno-missing-field-initializers \
-Wpointer-arith \
-Wcast-align \
-Wno-unreachable-code \
-Wnon-virtual-dtor \
-Woverloaded-virtual \
-Wsuggest-final-types \
-Wsuggest-final-methods \
-Wsuggest-override \
-Wsuggest-attribute=pure \
-Wsuggest-attribute=const \
-Wsuggest-attribute=noreturn \
-Wsuggest-attribute=format \
-Wsequence-point \
-lpthread \
-lboost_system \
-lboost_thread \
-lmarkdown \
$1 -o /tmp/x.x && /tmp/x.x "${@:2}"