Download dev/tests/cqt/build_click.sh from mchuca/ServerMonitor: direct link, hf CLI and curl.
- Browser
- Download file 596 Bytes
-
https://huggingface.co/mchuca/ServerMonitor/resolve/main/dev/tests/cqt/build_click.sh
- Command line
-
hf download hf://mchuca/ServerMonitor/dev/tests/cqt/build_click.sh
-
curl -L -o build_click.sh https://huggingface.co/mchuca/ServerMonitor/resolve/main/dev/tests/cqt/build_click.sh
596 Bytes
| # usage: build_click.sh <project dir (headers)> <obj dir> <out> | |
| set -e; P="$1"; O="$2"; OUT="$3"; SDK=$HOME/.local/share/qt5-sdk/root; I=$SDK/usr/include/x86_64-linux-gnu/qt5 | |
| OBJS=(); for o in "$O"/*.o; do [[ $(basename "$o") == main.o ]] || OBJS+=("$o"); done | |
| g++ -std=c++17 -O1 -fPIC -DQT_NO_DEBUG -I$I -I$I/QtCore -I$I/QtGui -I$I/QtWidgets -I$SDK/usr/include -I$SDK/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -I"$P/src" \ | |
| "$(dirname "$0")/click_test.cpp" "${OBJS[@]}" -o "$OUT" -L/usr/lib/x86_64-linux-gnu -l:libQt5Widgets.so.5 -l:libQt5Gui.so.5 -l:libQt5Core.so.5 -lpthread | |