mirror of
https://github.com/YACReader/yacreader
synced 2025-06-04 01:28:55 -04:00
Fix compileOSX.sh
This commit is contained in:
parent
56b1e20aef
commit
1179ec81a2
@ -18,8 +18,10 @@ if [ "$6" == "clean" ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$ARCH" == "x86_64" ]; then
|
if [ "$ARCH" == "x86_64" ]; then
|
||||||
|
ARCHS="x86_64"
|
||||||
ARCH_NAME="Intel"
|
ARCH_NAME="Intel"
|
||||||
elif [ "$ARCH" == "x86_64" ]; then
|
else
|
||||||
|
ARCHS="x86_64 arm64"
|
||||||
ARCH_NAME="U"
|
ARCH_NAME="U"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@ -29,19 +31,19 @@ hash qmake 2>/dev/null || { echo >&2 "Qmake command not available. Please add th
|
|||||||
|
|
||||||
echo "Compiling YACReader"
|
echo "Compiling YACReader"
|
||||||
cd YACReader
|
cd YACReader
|
||||||
qmake DEFINES+="BUILD_NUMBER=\\\\\\\"${BUILD_NUMBER}\\\\\\\"" QMAKE_APPLE_DEVICE_ARCHS="x86_64 arm64"
|
qmake DEFINES+="BUILD_NUMBER=\\\\\\\"${BUILD_NUMBER}\\\\\\\"" QMAKE_APPLE_DEVICE_ARCHS="$ARCHS"
|
||||||
make
|
make
|
||||||
cd ..
|
cd ..
|
||||||
|
|
||||||
echo "Compiling YACReaderLibrary"
|
echo "Compiling YACReaderLibrary"
|
||||||
cd YACReaderLibrary
|
cd YACReaderLibrary
|
||||||
qmake DEFINES+="BUILD_NUMBER=\\\\\\\"${BUILD_NUMBER}\\\\\\\"" QMAKE_APPLE_DEVICE_ARCHS="x86_64 arm64"
|
qmake DEFINES+="BUILD_NUMBER=\\\\\\\"${BUILD_NUMBER}\\\\\\\"" QMAKE_APPLE_DEVICE_ARCHS="$ARCHS"
|
||||||
make
|
make
|
||||||
cd ..
|
cd ..
|
||||||
|
|
||||||
echo "Compiling YACReaderLibraryServer"
|
echo "Compiling YACReaderLibraryServer"
|
||||||
cd YACReaderLibraryServer
|
cd YACReaderLibraryServer
|
||||||
qmake DEFINES+="BUILD_NUMBER=\\\\\\\"${BUILD_NUMBER}\\\\\\\"" QMAKE_APPLE_DEVICE_ARCHS="x86_64 arm64"
|
qmake DEFINES+="BUILD_NUMBER=\\\\\\\"${BUILD_NUMBER}\\\\\\\"" QMAKE_APPLE_DEVICE_ARCHS="$ARCHS"
|
||||||
make
|
make
|
||||||
cd ..
|
cd ..
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user