Update playback flag

This commit is contained in:
Nikhil Narayana 2020-07-19 03:26:51 -04:00
commit 87e15f684b
No known key found for this signature in database
GPG key ID: E263B4B4644E576B
2 changed files with 4 additions and 3 deletions

View file

@ -321,7 +321,7 @@ jobs:
mkdir build
cd build
export LIBRARY_PATH=/usr/lib/
cmake -DQt5_DIR=$(brew --prefix qt)/lib/cmake/Qt5 -DENABLE_NOGUI=false ..
cmake -DSLIPPI_PLAYBACK=false -DQt5_DIR=$(brew --prefix qt)/lib/cmake/Qt5 -DENABLE_NOGUI=false ..
make -j7
- name: "Package Netplay"
if: success()
@ -387,7 +387,7 @@ jobs:
mkdir build
export LD_LIBRARY_PATH=/usr/lib/
cd build
cmake -DIS_PLAYBACK=true -DQt5_DIR=$(brew --prefix qt)/lib/cmake/Qt5 -DENABLE_NOGUI=false ..
cmake -DQt5_DIR=$(brew --prefix qt)/lib/cmake/Qt5 -DENABLE_NOGUI=false ..
make -j7
- name: "Package Playback"
if: success()

View file

@ -6,10 +6,11 @@ CMAKE_FLAGS='-DLINUX_LOCAL_DEV=true'
# Build type
if [ -z "$1" ]
then
# TODO: move this around, playback should be the secondary build
CMAKE_FLAGS+=" -DSLIPPI_PLAYBACK=false"
echo "Using Netplay build config"
elif [ "$1" == "playback" ]
then
CMAKE_FLAGS+=" -DSLIPPI_PLAYBACK=true"
echo "Using Playback build config"
fi