2019-10-23 13:28:52 +02:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
|
|
|
echo 'building all components'
|
|
|
|
|
|
|
|
cd ..
|
|
|
|
|
2019-10-23 14:19:00 +02:00
|
|
|
#building library first
|
|
|
|
cd library/build
|
|
|
|
cmake ..
|
|
|
|
make
|
|
|
|
cd ../..
|
|
|
|
|
2019-10-23 13:28:52 +02:00
|
|
|
for d in */; do
|
|
|
|
cd "$d"
|
|
|
|
FILE=build
|
2019-10-23 14:19:00 +02:00
|
|
|
echo $d
|
|
|
|
if [ -d $FILE ]; then
|
|
|
|
echo 'building component ' $d
|
2019-10-23 13:28:52 +02:00
|
|
|
cd build
|
|
|
|
cmake ..
|
|
|
|
make
|
|
|
|
cd ..
|
|
|
|
fi
|
|
|
|
|
|
|
|
cd ..
|
2020-01-07 15:51:25 +01:00
|
|
|
done
|