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

@ -20,10 +20,16 @@ build_generator=""
build_dir="build-Debug-RPi"
if [ "${OS}" = "Windows_NT" ]; then
build_generator="MinGW Makefiles"
python="py"
# Could be other OS but this works for now.
else
build_generator="Unix Makefiles"
python="python3"
fi
python3 cmake_build_config.py -o "${os_fsfw}" -g "${build_generator}" -b "debug" -t "${tgt_bsp}" \
-l"${build_dir}"
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