I suspect that this is a hole in the handling of command line arguments and ctest_test
arguments. If I had to guess, -N
intercepts the list that ctest_test
ends up consulting. The better option is probably to implement ctest_test(PRINT_ONLY)
and to wire up -N
to act as if that is specified to all ctest_test
calls.