build scripts/build.cfg: add option to build the Quake III plugin
This commit is contained in:
parent
24c869d9aa
commit
9c61d2528f
2 changed files with 10 additions and 0 deletions
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue