Download dev/tests/cqt/build_analysis_test.sh from mchuca/ServerMonitor: direct link, hf CLI and curl.
- Browser
- Download file 488 Bytes
-
https://huggingface.co/mchuca/ServerMonitor/resolve/main/dev/tests/cqt/build_analysis_test.sh
- Command line
-
hf download hf://mchuca/ServerMonitor/dev/tests/cqt/build_analysis_test.sh
-
curl -L -o build_analysis_test.sh https://huggingface.co/mchuca/ServerMonitor/resolve/main/dev/tests/cqt/build_analysis_test.sh
488 Bytes
| # usage: build_analysis_test.sh "<project dir>" <out binary> [extra .cpp ...] (C++ editions only) | |
| P="$1"; O="$2"; shift 2; SDK=$HOME/.local/share/qt5-sdk/root; I=$SDK/usr/include/x86_64-linux-gnu/qt5 | |
| g++ -std=c++17 -O1 -fPIC -I$I -I$I/QtCore -I$SDK/usr/include -I$SDK/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -I"$P/src" \ | |
| "$(dirname "$0")/analysis_test.cpp" "$P/src/core/Model.cpp" "$P/src/core/History.cpp" "$@" -o "$O" -L/usr/lib/x86_64-linux-gnu -l:libQt5Core.so.5 | |