build scripts/build.cfg: add option to build the Quake III plugin

This commit is contained in:
Marco Cawthorne 2022-06-10 07:55:30 -07:00
parent 24c869d9aa
commit 9c61d2528f
Signed by: eukara
GPG Key ID: CE2032F0A2882A22
2 changed files with 10 additions and 0 deletions

View File

@ -39,3 +39,6 @@ BUILD_UPDATE=1
# If we should try to use CLANG instead of GCC (Linux only)
BUILD_CLANG=0
# Build the Quake III game logic and protocol support
BUILD_QUAKE3=1

View File

@ -174,6 +174,13 @@ then
printf "Built the Source Engine plugin successfully.\n\n"
fi
if [ "$BUILD_QUAKE3" -eq 1 ]
then
CC=$ENGINE_CC CXX=$ENGINE_CXX $MAKE -j $BUILD_PROC plugins-rel NATIVE_PLUGINS="quake3"
find ./release/ -name 'fteplug_quake3_*.so' -exec cp -prv '{}' '../../../bin/' ';'
printf "Built the Quake III plugin successfully.\n\n"
fi
if [ "$BUILD_BULLET" -eq 1 ]
then
CC=$ENGINE_CC CXX=$ENGINE_CXX $MAKE -j $BUILD_PROC plugins-rel NATIVE_PLUGINS="bullet"