C++ 23 · CMake

Run the tests

Run the tests registered with add_test and print output for failures.

ctest --test-dir build --output-on-failure

Official C++ 23 documentation

More cmake commands

All cmake commands · C++ 23 cheatsheet

Was this page helpful?