For the moment nnly accept --crashreporting when building a windows viewer. Bugsplat on OSX yields in an unusable viewer (FIRE-31306) and Linux is without crash reporting.

master
Nicky 2022-02-08 17:43:03 +01:00
parent 399264795a
commit b8bcbd9af5
1 changed files with 10 additions and 1 deletions

View File

@ -80,7 +80,7 @@ showUsage()
echo " --avx : Build with Advanced Vector Extensions"
echo " --avx2 : Build with Advanced Vector Extensions 2"
echo " --tracy : Build with Tracy Profiler support"
echo " --crashreporting : Build with crash reporting enabled"
echo " --crashreporting : Build with crash reporting enabled (Windows only)"
echo " --testbuild <days> : Create time-limited test build (build date + <days>)"
echo " --platform <platform> : Build for specified platform (darwin | windows | linux)"
echo " --jobs <num> : Build with <num> jobs in parallel (Linux and Darwin only)"
@ -301,6 +301,15 @@ if [ ! -d `dirname "$LOG"` ] ; then
mkdir -p `dirname "$LOG"`
fi
if [ $TARGET_PLATFORM != "windows" ]
then
if [ $WANTS_CRASHREPORTING -eq $TRUE ]
then
echo "--crashreporting is not supported on this platform"
WANTS_CRASHREPORTING=$FALSE
fi
fi
echo -e "configure_firestorm.sh" > $LOG
echo -e " PLATFORM: $TARGET_PLATFORM" | tee -a $LOG
echo -e " KDU: `b2a $WANTS_KDU`" | tee -a $LOG