-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathcompile.sh
More file actions
47 lines (25 loc) · 869 Bytes
/
compile.sh
File metadata and controls
47 lines (25 loc) · 869 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
38
39
40
41
42
43
44
45
46
47
# Compile main library
g++ -c *.cpp --std=c++11 -Wall -pedantic -g -O3
rm -f house.a
ar rcs house.a *.o
rm -f *.o
# Compile projectile example
cd projectile
g++ -o projectile.exe projectile.cpp -I.. ../house.a --std=c++11 \
-O3 -g -Wall -pedantic
cd ..
# Compile rigid body example
cd rigid_body
g++ -o rigid_body.exe rigid_body.cpp -I.. ../house.a --std=c++11 \
-O3 -g -Wall -pedantic
cd ..
# Compile coordinated turn example with Gaussian noise
cd CT_Gauss
g++ -o ct.exe CT.cpp ../house.a -I.. --std=c++11 -g -Wall -pedantic -O3
g++ -o st.exe statct.cpp -I.. --std=c++11 -g -Wall -pedantic -O3
cd ..
# Compile coordinated turn example with Pearson type IV noise
cd CT_Pearson
g++ -o ct.exe CT.cpp ../house.a -I.. --std=c++11 -g -Wall -pedantic -O3
g++ -o st.exe statct.cpp -I.. --std=c++11 -g -Wall -pedantic -O3
cd ..