-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathbuild.sh
More file actions
27 lines (21 loc) · 982 Bytes
/
build.sh
File metadata and controls
27 lines (21 loc) · 982 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
###############################################
# Stupid script to build examples -
# These examples are thin samples and
# don't really warrant a build system
###############################################
echo "Building a few examples - "
echo " - If any build fails, that's probably ok - these are just examples"
echo "Building raw pointers example..."
g++ examples/raw_pointers.cpp -g -o examples/raw_pointers_example
echo " ...debug it with 'gdb examples/raw_pointers_example"
echo "Building stl example..."
g++ examples/stl_example.cpp -g -o examples/stl_example
echo " .. debug it with 'gdb examples/stl_example'"
echo
echo "Building Boost::numerics example..."
g++ examples/boost_numerics_example.cpp -g -o examples/boost_example
echo " .. debug it with 'gdb examples/boost_example'"
echo
echo "Building Eigen3 example..."
g++ -g -I/usr/include/eigen3 examples/eigen_example.cpp -o examples/eigen_example
echo " .. debug it with 'gdb examples/eigen_example'"