-
Notifications
You must be signed in to change notification settings - Fork 10
/
before_install.sh
36 lines (30 loc) · 1.12 KB
/
before_install.sh
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
mkdir dependencies
cd dependencies
mkdir include
cd include
#sudo mkdir /usr/local/include/BitmapImage
#sudo wget https://raw.githubusercontent.com/CrikeeIP/bitmap/master/bitmap_image.hpp -O /usr/local/include/BitmapImage/bitmap_image.hpp
#printf "%s\n" "--------- BitmapImage downloaded ---------\n" ""
#sudo mkdir /usr/local/include/CImg
#sudo wget https://raw.githubusercontent.com/CrikeeIP/CImg/master/CImg.h -O /usr/local/include/CImg/CImg.h
#printf "%s\n" "--------- CImg downloaded ---------" ""
sudo mkdir /usr/local/include/geometry
sudo wget https://raw.githubusercontent.com/CrikeeIP/Geometry/master/include/geometry/geometry.hpp -O /usr/local/include/geometry/geometry.hpp
printf "%s\n" "--------- Geometry downloaded ---------" ""
cd ..
git clone https://github.com/Dobiasd/FunctionalPlus
cd FunctionalPlus
mkdir build
cd build
cmake ..
sudo make install
cd ..
cd ..
printf "%s\n" "--------- Fplus installed ---------" ""
cd ..
#sudo cp -r ./include/optics /usr/local/include/
#cd test
# chmod +x ./compile_and_run.sh
# ./compile_and_run.sh
# echo "--------- Tests successfully completed ---------"
#cd ..