@echo off
echo Building HID Device Analyzer...

if not exist build mkdir build
cd build

echo Running CMake...
cmake ..

echo Building with Visual Studio...
cmake --build . --config Release

echo.
echo Build complete. The executable is located at:
echo build\Release\hid_analyzer.exe
echo.
echo Usage examples:
echo hid_analyzer.exe --list
echo hid_analyzer.exe --valve
echo hid_analyzer.exe --help

cd ..