ctest_start_function_scope.rst 402 B

12345678
  1. ctest_start_function_scope
  2. --------------------------
  3. * The :command:`ctest_start` command no longer sets
  4. :variable:`CTEST_RUN_CURRENT_SCRIPT` due to issues with scoping if it is
  5. called from inside a function. Instead, it sets an internal variable in
  6. CTest. However, setting :variable:`CTEST_RUN_CURRENT_SCRIPT` to 0 at the
  7. global scope still prevents the script from being re-run at the end.