winamp/Src/external_dependencies/openmpt-trunk/build/regenerate_vs_projects.sh

170 lines
6.0 KiB
Bash
Raw Normal View History

2024-09-24 13:54:57 +01:00
#!/usr/bin/env bash
set -e
MY_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
echo $MY_DIR
cd "${MY_DIR}"
cd ..
GENIE=include/genie/bin/linux/genie
PREMAKE=include/premake/bin/release/premake5
cp include/genie/OpenMPT.txt include/genie/OpenMPT-expected.txt
if ! diff include/genie/OpenMPT-expected.txt include/genie/OpenMPT-version.txt >/dev/null ; then
echo "Genie version mismatch"
exit 1
fi
cp include/premake/OpenMPT.txt include/premake/OpenMPT-expected.txt
if ! diff include/premake/OpenMPT-expected.txt include/premake/OpenMPT-version.txt >/dev/null ; then
echo "Premake version mismatch"
exit 1
fi
echo dofile \"build/premake/premake.lua\" > premake5.lua
${PREMAKE} --group=libopenmpt_test vs2017 --winxp && \
${PREMAKE} --group=in_openmpt vs2017 --winxp && \
${PREMAKE} --group=xmp-openmpt vs2017 --winxp && \
${PREMAKE} --group=libopenmpt-small vs2017 --winxp && \
${PREMAKE} --group=libopenmpt vs2017 --winxp && \
${PREMAKE} --group=openmpt123 vs2017 --winxp && \
${PREMAKE} --group=PluginBridge vs2017 --winxp && \
${PREMAKE} --group=OpenMPT vs2017 --winxp && \
${PREMAKE} --group=all-externals vs2017 --winxp && \
echo ok &
${PREMAKE} --group=libopenmpt_test vs2017 --win7 && \
${PREMAKE} --group=in_openmpt vs2017 --win7 && \
${PREMAKE} --group=xmp-openmpt vs2017 --win7 && \
${PREMAKE} --group=libopenmpt-small vs2017 --win7 && \
${PREMAKE} --group=libopenmpt vs2017 --win7 && \
${PREMAKE} --group=openmpt123 vs2017 --win7 && \
${PREMAKE} --group=PluginBridge vs2017 --win7 && \
${PREMAKE} --group=OpenMPT vs2017 --win7 && \
${PREMAKE} --group=all-externals vs2017 --win7 && \
echo ok &
${PREMAKE} --group=libopenmpt_test vs2017 --win10 && \
${PREMAKE} --group=in_openmpt vs2017 --win10 && \
${PREMAKE} --group=xmp-openmpt vs2017 --win10 && \
${PREMAKE} --group=libopenmpt-small vs2017 --win10 && \
${PREMAKE} --group=libopenmpt vs2017 --win10 && \
${PREMAKE} --group=openmpt123 vs2017 --win10 && \
${PREMAKE} --group=PluginBridge vs2017 --win10 && \
${PREMAKE} --group=OpenMPT vs2017 --win10 && \
${PREMAKE} --group=all-externals vs2017 --win10 && \
echo ok &
${PREMAKE} --group=libopenmpt_test vs2019 --win7 && \
${PREMAKE} --group=in_openmpt vs2019 --win7 && \
${PREMAKE} --group=xmp-openmpt vs2019 --win7 && \
${PREMAKE} --group=libopenmpt-small vs2019 --win7 && \
${PREMAKE} --group=libopenmpt vs2019 --win7 && \
${PREMAKE} --group=openmpt123 vs2019 --win7 && \
${PREMAKE} --group=PluginBridge vs2019 --win7 && \
${PREMAKE} --group=OpenMPT vs2019 --win7 && \
${PREMAKE} --group=all-externals vs2019 --win7 && \
echo ok &
${PREMAKE} --group=libopenmpt_test vs2019 --win81 && \
${PREMAKE} --group=in_openmpt vs2019 --win81 && \
${PREMAKE} --group=xmp-openmpt vs2019 --win81 && \
${PREMAKE} --group=libopenmpt-small vs2019 --win81 && \
${PREMAKE} --group=libopenmpt vs2019 --win81 && \
${PREMAKE} --group=openmpt123 vs2019 --win81 && \
${PREMAKE} --group=PluginBridge vs2019 --win81 && \
${PREMAKE} --group=OpenMPT vs2019 --win81 && \
${PREMAKE} --group=all-externals vs2019 --win81 && \
echo ok &
${PREMAKE} --group=libopenmpt_test vs2019 --win10 && \
${PREMAKE} --group=in_openmpt vs2019 --win10 && \
${PREMAKE} --group=xmp-openmpt vs2019 --win10 && \
${PREMAKE} --group=libopenmpt-small vs2019 --win10 && \
${PREMAKE} --group=libopenmpt vs2019 --win10 && \
${PREMAKE} --group=openmpt123 vs2019 --win10 && \
${PREMAKE} --group=PluginBridge vs2019 --win10 && \
${PREMAKE} --group=OpenMPT vs2019 --win10 && \
${PREMAKE} --group=all-externals vs2019 --win10 && \
echo ok &
${PREMAKE} --group=libopenmpt_test vs2022 --win7 && \
${PREMAKE} --group=in_openmpt vs2022 --win7 && \
${PREMAKE} --group=xmp-openmpt vs2022 --win7 && \
${PREMAKE} --group=libopenmpt-small vs2022 --win7 && \
${PREMAKE} --group=libopenmpt vs2022 --win7 && \
${PREMAKE} --group=openmpt123 vs2022 --win7 && \
${PREMAKE} --group=PluginBridge vs2022 --win7 && \
${PREMAKE} --group=OpenMPT vs2022 --win7 && \
${PREMAKE} --group=all-externals vs2022 --win7 && \
echo ok &
${PREMAKE} --group=libopenmpt_test vs2022 --win81 && \
${PREMAKE} --group=in_openmpt vs2022 --win81 && \
${PREMAKE} --group=xmp-openmpt vs2022 --win81 && \
${PREMAKE} --group=libopenmpt-small vs2022 --win81 && \
${PREMAKE} --group=libopenmpt vs2022 --win81 && \
${PREMAKE} --group=openmpt123 vs2022 --win81 && \
${PREMAKE} --group=PluginBridge vs2022 --win81 && \
${PREMAKE} --group=OpenMPT vs2022 --win81 && \
${PREMAKE} --group=all-externals vs2022 --win81 && \
echo ok &
${PREMAKE} --group=libopenmpt_test vs2022 --win10 && \
${PREMAKE} --group=in_openmpt vs2022 --win10 && \
${PREMAKE} --group=xmp-openmpt vs2022 --win10 && \
${PREMAKE} --group=libopenmpt-small vs2022 --win10 && \
${PREMAKE} --group=libopenmpt vs2022 --win10 && \
${PREMAKE} --group=openmpt123 vs2022 --win10 && \
${PREMAKE} --group=PluginBridge vs2022 --win10 && \
${PREMAKE} --group=OpenMPT vs2022 --win10 && \
${PREMAKE} --group=all-externals vs2022 --win10 && \
echo ok &
${PREMAKE} --group=libopenmpt_test vs2022 --clang --win10 && \
${PREMAKE} --group=in_openmpt vs2022 --clang --win10 && \
${PREMAKE} --group=xmp-openmpt vs2022 --clang --win10 && \
${PREMAKE} --group=libopenmpt-small vs2022 --clang --win10 && \
${PREMAKE} --group=libopenmpt vs2022 --clang --win10 && \
${PREMAKE} --group=openmpt123 vs2022 --clang --win10 && \
${PREMAKE} --group=PluginBridge vs2022 --clang --win10 && \
${PREMAKE} --group=OpenMPT vs2022 --clang --win10 && \
${PREMAKE} --group=all-externals vs2022 --clang --win10 && \
echo ok &
${PREMAKE} --group=libopenmpt-small vs2019 --win10 --uwp && \
${PREMAKE} --group=libopenmpt vs2019 --win10 --uwp && \
${PREMAKE} --group=all-externals vs2019 --win10 --uwp && \
echo ok &
${PREMAKE} --group=libopenmpt-small vs2022 --win10 --uwp && \
${PREMAKE} --group=libopenmpt vs2022 --win10 --uwp && \
${PREMAKE} --group=all-externals vs2022 --win10 --uwp && \
echo ok &
echo dofile \"build/genie/genie.lua\" > genie.lua
${GENIE} --target="winstore82" vs2017
echo dofile \"build/xcode-genie/genie.lua\" > genie.lua
${GENIE} --target="macosx" --os=macosx xcode9
${GENIE} --target="iphoneos" --os=macosx xcode9
wait