@echo off echo Building PrivateBin API C++ DLL... REM Create build directory if not exist "build" mkdir build cd build REM Generate build files with CMake cmake .. -G "Visual Studio 17 2022" REM Build the project cmake --build . --config Release if %ERRORLEVEL% EQU 0 ( echo Build completed successfully! ) else ( echo Build failed with error level %ERRORLEVEL% ) cd ..