You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
453 B
28 lines
453 B
![]()
5 years ago
|
#!/bin/sh
|
||
![]()
5 years ago
|
|
||
|
if [ "$1" = "dedicated" ]; then
|
||
|
APP=xashds
|
||
|
else # elif [ "$1" = "full" ]; then
|
||
|
APP=xash3d-fwgs
|
||
|
fi
|
||
|
|
||
|
build_engine()
|
||
|
{
|
||
|
# Build engine
|
||
|
cd "$CIRRUS_WORKING_DIR" || die
|
||
|
|
||
|
if [ "$APP" = "xashds" ]; then
|
||
![]()
5 years ago
|
./waf configure -T release -d -W || die
|
||
![]()
5 years ago
|
elif [ "$APP" = "xash3d-fwgs" ]; then
|
||
![]()
4 years ago
|
./waf configure -T release --enable-stb -W --enable-utils || die
|
||
![]()
5 years ago
|
else
|
||
|
die
|
||
|
fi
|
||
|
|
||
|
./waf build || die
|
||
|
}
|
||
|
|
||
|
rm -rf build # clean-up build directory
|
||
|
|
||
|
build_engine
|