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 DST=$PWD
fi fi
if [ -z "$CMAKE_DIR"]
then
CMAKE_DIR="$SRC/Quik.Common/cmake"
fi
for ARCH in $ARCHS; do for ARCH in $ARCHS; do
# Output directory. # Output directory.
PREFIX=$DST/runtimes/$ARCH/native PREFIX=$DST/runtimes/$ARCH/native
# Build directory. # Build directory.
BUILD=$DST/out/$ARCH BUILD=$DST/out/$ARCH
# Cmake toolchain file. # Cmake toolchain file.
TOOLCHAIN=$DST/../cmake/$ARCH.cmake TOOLCHAIN=$CMAKE_DIR/cmake/$ARCH.cmake
# Create directories. # Create directories.
mkdir -p $PREFIX $BUILD mkdir -p $PREFIX $BUILD