From 6aa3383c54f07a0a2989ba533a513f831d989eea Mon Sep 17 00:00:00 2001 From: Ruslan Baratov Date: Mon, 1 Jun 2026 20:18:37 +0800 Subject: [PATCH] CMake: Add 'USES_TERMINAL' to custom target for Ninja With the Ninja generator, output from custom target is captured and buffered, progress is only visible after the command finishes Adding USES_TERMINAL enables real-time progress output during the custom step --- test/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index c47ba3b837d..07bc787ddf6 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -38,7 +38,7 @@ if(EXCLUDE_TESTS) set(PCL_CTEST_ARGUMENTS ${PCL_CTEST_ARGUMENTS} -E "(${EXCLUDE_TESTS_REGEX})") endif() -add_custom_target(tests "${CMAKE_CTEST_COMMAND}" ${PCL_CTEST_ARGUMENTS} -V -T Test VERBATIM) +add_custom_target(tests "${CMAKE_CTEST_COMMAND}" ${PCL_CTEST_ARGUMENTS} -V -T Test VERBATIM USES_TERMINAL) set_target_properties(tests PROPERTIES FOLDER "Tests")