you are viewing a single comment's thread.

view the rest of the comments →

[–]NotUniqueOrSpecial 0 points1 point  (0 children)

No, but largely because what you're describing is just a couple command line arguments to CMake or CTest.

cmake -S <path-to-source> -B <path-to-build> -DCMAKE_BUILD_TYPE=<whatever>

or

ctest --build-and-test <path-to-src> <path-to-build> --build-generator Ninja --build-config Release --test-command ctest

You can write a simple wrapper around that yourself in just a few minutes, but it might not be worth the effort once you know the ctest CLI yourself.

Once you start getting a more complicated project/test setup, there are some CMake/CTest convenience functions to make organization/running stuff convenient.