Skip to content

Commit 100ed8b

Browse files
ruslomvieth
authored andcommitted
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
1 parent bc6714e commit 100ed8b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ if(EXCLUDE_TESTS)
3838
set(PCL_CTEST_ARGUMENTS ${PCL_CTEST_ARGUMENTS} -E "(${EXCLUDE_TESTS_REGEX})")
3939
endif()
4040

41-
add_custom_target(tests "${CMAKE_CTEST_COMMAND}" ${PCL_CTEST_ARGUMENTS} -V -T Test VERBATIM)
41+
add_custom_target(tests "${CMAKE_CTEST_COMMAND}" ${PCL_CTEST_ARGUMENTS} -V -T Test VERBATIM USES_TERMINAL)
4242

4343
set_target_properties(tests PROPERTIES FOLDER "Tests")
4444

0 commit comments

Comments
 (0)