Download Server Monitor(cqt-window)/build.bat from mchuca/ServerMonitor: direct link, hf CLI and curl.
- Browser
- Download file 653 Bytes
-
https://huggingface.co/mchuca/ServerMonitor/resolve/main/Server%20Monitor(cqt-window)/build.bat
- Command line
-
hf download 'hf://mchuca/ServerMonitor/Server Monitor(cqt-window)/build.bat'
-
curl -L -o build.bat 'https://huggingface.co/mchuca/ServerMonitor/resolve/main/Server%20Monitor(cqt-window)/build.bat'
653 Bytes
| @echo off | |
| rem Build Server Monitor with Qt 5. Run from a Qt command prompt (MinGW or MSVC) so that qmake is on PATH. | |
| setlocal | |
| cd /d "%~dp0" | |
| where qmake >nul 2>nul | |
| if errorlevel 1 ( | |
| echo qmake not found. Open the Qt command prompt or add the Qt bin folder to PATH. | |
| exit /b 1 | |
| ) | |
| if not exist build mkdir build | |
| cd build | |
| qmake ..\ServerMonitor.pro "CONFIG+=release" | |
| if errorlevel 1 exit /b 1 | |
| for /f %%s in ('qmake -query QMAKE_XSPEC') do set SPEC=%%s | |
| if "%SPEC%"=="win32-g++" (mingw32-make -j%NUMBER_OF_PROCESSORS%) else (nmake) | |
| if errorlevel 1 exit /b 1 | |
| windeployqt release\ServerMonitor.exe | |
| echo Done: build\release\ServerMonitor.exe | |