Modify script for current build system.

This commit is contained in:
H. Utku Maden 2024-03-19 21:54:23 +03:00
parent d722a4561d
commit b9b76ca327

View File

@ -23,13 +23,18 @@ then
DST=$PWD
fi
if [ -z "$CMAKE_DIR"]
then
CMAKE_DIR="$SRC/Quik.Common/cmake"
fi
for ARCH in $ARCHS; do
# Output directory.
PREFIX=$DST/runtimes/$ARCH/native
# Build directory.
BUILD=$DST/out/$ARCH
# Cmake toolchain file.
TOOLCHAIN=$DST/../cmake/$ARCH.cmake
TOOLCHAIN=$CMAKE_DIR/cmake/$ARCH.cmake
# Create directories.
mkdir -p $PREFIX $BUILD