CMAKE_TEST_LAUNCHER — CMake 3.30.5 Documentation

# CMAKE_TEST_LAUNCHER

New in version 3.29.

This variable is used to initialize the `TEST_LAUNCHER` target property of executable targets as they are created. It is used to specify a launcher for running tests, added by the `add_test()` command, that run an executable target.

If this variable contains a semicolon-separated list, then the first value is the command and remaining values are its arguments.

This variable can be initialized via an `CMAKE_TEST_LAUNCHER` environment variable.