cl 2>&1 | find "19.15." > NUL && set VS_VERSION=15
cl 2>&1 | find "19.16." > NUL && set VS_VERSION=15
cl 2>&1 | find "19.20." > NUL && set VS_VERSION=16
+ cl 2>&1 | find "19.21." > NUL && set VS_VERSION=16
+ cl 2>&1 | find "19.22." > NUL && set VS_VERSION=16
if not defined VS_VERSION (
echo Error: Visual Studio version too old ^(before 10 ^(2010^)^) or version detection failed.
goto quit