rom-properties/appveyor.sh
David Korth d87aa0dbde appveyor.cmd, appveyor.sh: Add ENABLE_ASTC to OPTEN.
Also ENABLE_OPENMP in appveyor.cmd.

Note that it doesn't actually do anything right now, since we're not
doing OFF/ON builds in AppVeyor anymore due to taking too long and
timing out after 1hr.
2025-03-29 22:38:25 -04:00

17 lines
620 B
Bash
Executable File

#!/bin/sh
set -ev
cmake --version
# Enable or disable optional features?
if [ "$1" = "OFF" ]; then
export OPTEN=OFF
else
export OPTEN=ON
fi
OPTFEAT="-DENABLE_EXTRA_SECURITY=${OPTEN} -DENABLE_JPEG=${OPTEN} -DENABLE_XML=${OPTEN} -DENABLE_DECRYPTION=${OPTEN} -DENABLE_UNICE68=${OPTEN} -DENABLE_LIBMSPACK=${OPTEN} -DENABLE_PVRTC=${OPTEN} -DENABLE_ZSTD=${OPTEN} -DENABLE_LZ4=${OPTEN} -DENABLE_LZO=${OPTEN} -DENABLE_NLS=${OPTEN} -DENABLE_OPENMP=${OPTEN} -DENABLE_ASTC=${OPTEN}"
mkdir build || true
cd build
cmake .. -G Ninja -DBUILD_TESTING=ON -DENABLE_LTO=OFF -DENABLE_PCH=OFF -DTRACKER_INSTALL_API_VERSION=3 ${OPTFEAT}