Recently relised visual studio build tool (with cmake support), enables building windows c++ project without GUI. It is essential to accelerate the testing of cross-platform program.
It is convenient and decent to add Bash (WSL) and visual studio command line tool
1. git clone
2. cd source & mkdir build & cd build & cmake .. # cmake to generate msbuild/makefile
3. nmake # to compile
Windows Registry Editor Version 5.00 [HKEY_CLASSES_ROOT\Directory\Background\shell\VSTPrompt] @="open VSTool X64 prompt here" "Icon"="cmd.exe" [HKEY_CLASSES_ROOT\Directory\Background\shell\VSTPrompt\command] @="cmd.exe /s /k call \"C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\BuildTools\\VC\\Auxiliary\\Build\\vcvars64.bat\" & pushd \"%V\" " [HKEY_CLASSES_ROOT\Directory\Background\shell\bash] @="Open Bash in this folder" "Icon"="%USERPROFILE%\\AppData\\Local\\lxss\\bash.ico" [HKEY_CLASSES_ROOT\Directory\Background\shell\bash\command] @="cmd.exe /c cd /d \"%V\" && bash.exe"