rtengine/scripts/download_dxc_cross.sh
Kevin Trogant 8f52ea3d3a
Some checks failed
Ubuntu Cross to Win64 / Cross Compile with ming64 (1.4.0, ubuntu-latest) (push) Failing after 1m32s
Fixed linux -> windows cross compilation
2024-07-16 11:48:28 +02:00

14 lines
374 B
Bash
Executable File

#!/bin/bash
file="dxc_2023_08_14.zip"
if [ ! -d contrib ]; then
echo "Could not find 'contrib'. Make sure to run this script from the projects root directory."
exit 1;
fi
mkdir -p contrib/dxc
wget https://github.com/microsoft/DirectXShaderCompiler/releases/download/v1.7.2308/$file -O contrib/dxc/$file
unzip contrib/dxc/$file -d contrib/dxc
rm contrib/dxc/$file