# Run cmake
echo Running cmake...
-cmake -G "Unix Makefiles" -A x64 -DCMAKE_BUILD_TYPE=RelWithDebInfo .. || fail "cmake failed"
+cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=RelWithDebInfo .. || fail "cmake failed"
# Run make using the number of hardware threads in BUILD_PARALLEL_THREADS
echo Building...
echo Copying binaries...
cp -f shell/lib* "$SERVER_FOLDER/lib/" || fail "Could not copy server libraries"
cp -f shell/*.ttf "$SERVER_FOLDER/" || fail "Could not copy font(s)"
-cp -f shell/*.pak "$SERVER_FOLDER/" || fail "Could not copy font(s)"
cp -f shell/casparcg "$SERVER_FOLDER/bin/" || fail "Could not copy server executable"
cp -f shell/casparcg.config "$SERVER_FOLDER/" || fail "Could not copy server config"
cp -Rf shell/locales "$SERVER_FOLDER/bin/" || fail "Could not copy server CEF locales"
+cp -f shell/*.pak "$SERVER_FOLDER/" || fail "Could not copy CEF resources"
# Copy binary dependencies
echo Copying binary dependencies...