CMake: Set --output-on-failure flag for unittests target.
This commit is contained in:
parent
27d90a7d7b
commit
df458aed89
|
@ -1,6 +1,6 @@
|
|||
enable_testing()
|
||||
add_custom_target(unittests)
|
||||
add_custom_command(TARGET unittests POST_BUILD COMMAND ${CMAKE_CTEST_COMMAND})
|
||||
add_custom_command(TARGET unittests POST_BUILD COMMAND ${CMAKE_CTEST_COMMAND} "--output-on-failure")
|
||||
|
||||
string(APPEND CMAKE_RUNTIME_OUTPUT_DIRECTORY "/Tests")
|
||||
|
||||
|
|
Loading…
Reference in New Issue