cmake -S . -B build
cmake --build build
cd build && ctest -V
- Install CMake Tools extension.
- In the bottom bar, there is the configured "Build" and "Run" commands (
Build [all]
andRun CTest
) - Click the run button (arrow like a "play" button).
cmake -S . -B build
cmake --build build
cd build && ctest -V
Build [all]
and Run CTest
)