Scripts/build.sh

27 lines
329 B
Bash
Raw Normal View History

2019-10-23 13:28:52 +02:00
#!/usr/bin/env bash
echo 'building all components'
cd ..
#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
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