[CMake] create ctest dependency for ctest -jN

Clinton Stimpson clinton at elemtech.com
Wed Mar 10 15:28:38 EST 2010




On Wednesday 10 March 2010 01:25:38 pm Matt McCormick wrote:
> Hi,
> 
> Is there a way to add a dependency for a test created with add_test() on
>  another test created with add_test() so 'ctest -jN' will work properly?
> 

set_tests_properties(test1 PROPERTIES DEPENDS test2)

Clint


More information about the CMake mailing list