Scripts/build.sh

27 lines
329 B
Bash
Executable File

#!/usr/bin/env bash
echo 'building all components'
cd ..
#building library first
cd library/build
cmake ..
make
cd ../..
for d in */; do
cd "$d"
FILE=build
echo $d
if [ -d $FILE ]; then
echo 'building component ' $d
cd build
cmake ..
make
cd ..
fi
cd ..
done