blob: 3e909f93d76945ff118ed13e5b9218d5b17a2ba0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#!/usr/bin/env sh
# Build hybbx-telnet, hybbx-terminal, and hybbx-ssh (when libssh is available)
# without the hybbx server or plugins.
set -eu
ROOT="$(CDPATH= cd -- "$(dirname "$0")/.." && pwd)"
BUILD="${1:-$ROOT/build-clients}"
shift 2>/dev/null || true
cmake -B "$BUILD" -DHYBBX_CLIENTS_ONLY=ON "$@"
cmake --build "$BUILD"
echo "Clients:"
echo " $BUILD/src/clients/hybbx-telnet"
echo " $BUILD/src/clients/hybbx-terminal"
if [ -x "$BUILD/src/clients/hybbx-ssh" ]; then
echo " $BUILD/src/clients/hybbx-ssh"
fi
|