updated more build scripts

This commit is contained in:
2021-06-30 15:36:27 +02:00
committed by Robin.Mueller
parent 7d7b119d01
commit 55a49dd45c
5 changed files with 45 additions and 13 deletions

View File

@ -18,6 +18,16 @@ os_fsfw="linux"
tgt_bsp="arm/raspberrypi"
build_generator="Ninja"
build_dir="build-Debug-RPi"
if [ "${OS}" = "Windows_NT" ]; then
python="py"
# Could be other OS but this works for now.
else
python="python3"
fi
echo "Running command (without the leading +):"
set -x # Print command
${python} cmake_build_config.py -o "${os_fsfw}" -g "${build_generator}" -b "debug" -t "${tgt_bsp}" \
-l"${build_dir}"
# set +x
python3 cmake_build_config.py -o "${os_fsfw}" -g "${build_generator}" -b "debug" -t "${tgt_bsp}" \
-l"${build_dir}"