Unless you really, really want to - don't do this. There are pre-compiled binaries available for end users to use in their projects. If you are struggling with the binaries - ask/complain. It's the only way we understand what users are looking for.
You shouldn't really need to follow any of these instructions - the instructions are mainly there for libiio developers wanting to keeps some notes, so they remember how to do things.
C:\Users\rgetz\Documents\GitHub\libiio\build>cmake -DWITH_USB_BACKEND=OFF -DWITH_SERIAL_BACKEND=OFF -DLIBXML2_LIBRARIES=“C:\\deps\\libiio-win-deps\\libs\\64\\libxml2.lib” -DLIBXML2_INCLUDE_DIR=“C:depslibiio-win-depsincludelibxml2” -DLOG_LEVEL=Debug .. C:\Users\rgetz\Documents\GitHub\libiio\build>cmake --build . --config Release C:\Users\rgetz\Documents\GitHub\libiio\build>copy .\Release\* .\tests\Release\
To test something in a loop (over and over again)
C:\Users\rgetz\Documents\GitHub\libiio\build>FOR /L %L IN (0,0,1) DO @(.\tests\Release\iio_attr.exe -S)