diff --git a/build.cfg b/build.cfg index fb759095..183dba81 100644 --- a/build.cfg +++ b/build.cfg @@ -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 diff --git a/build_engine.sh b/build_engine.sh index c141acd5..493053e8 100755 --- a/build_engine.sh +++ b/build_engine.sh @@ -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"