11435@11435-NB1 MINGW64 /d/study/vscode/cpp $ mkdir build && cd build
11435@11435-NB1 MINGW64 /d/study/vscode/cpp/build $ cmake -G"MinGW Makefiles" .. -- The C compiler identification is GNU 8.1.0 -- The CXX compiler identification is GNU 8.1.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: C:/mingw64/bin/gcc.exe - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: C:/mingw64/bin/g++.exe - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Configuring done -- Generating done -- Build files have been written to: D:/study/vscode/cpp/build
11435@11435-NB1 MINGW64 /d/study/vscode/cpp/build $ mingw32-make.exe Scanning dependencies of target main [ 33%] Building CXX object CMakeFiles/main.dir/main.cpp.obj [ 66%] Building CXX object CMakeFiles/main.dir/swap.cpp.obj [100%] Linking CXX executable main.exe [100%] Built target main