1echo "Adding MSYS2 to path..." 2SET "PATH=C:\msys64\mingw64\bin;C:\msys64\usr\bin;%PATH%" 3echo %PATH% 4 5echo "Installing MSYS2 packages..." 6bash -lc "pacman -S --needed --noconfirm mingw-w64-x86_64-gcc mingw-w64-x86_64-cmake mingw-w64-x86_64-boost" 7 8echo "Generating makefiles" 9mkdir build 10cd build 11cmake .. -LA -G "MSYS Makefiles" 12 13echo "Building" 14make VERBOSE=1 15 16echo "Testing" 17ctest --output-on-failure 18 19