git ls-remote --tags git://git.code.sf.net/p/openocd/code
to find the latest (pre)released OpenOCD version
git clone --depth 1 --branch v0.11.0 git://git.code.sf.net/p/openocd/code
replace v0.11.0 with the version you would like to build,
omit the --branch <tag> part to get daily build version
cd code
./bootstrap
contrib/cross-build.sh
Build output can be found in the code/-root/usr directory.
Download libusb from https://libusb.info, from the archive file copy VS2015-x64\dll\libusb-1.0.dll to the folder containing just built openocd.exe