Allow passing build tool options to projects built by ctest's --build-and-test mode
CTest has a build-and-test mode which is useful for writing build system auto tests. https://cmake.org/cmake/help/latest/manual/ctest.1.html#id20
The mode allows passing additional CMake arguments to the configured project via the --build-options
option.
There is no option to allow passing arguments to the underlying build tool (ninja
/ make
),
Having such an option would be useful for CI environments.
My main use case is passing verbosity flags, so that the compilation command line arguments can be seen in a CI log.