[CMake] create ctest dependency for ctest -jN
Matt McCormick
matt at mmmccormick.com
Wed Mar 10 16:28:13 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)
>
Thanks, Clint. Works great.
I filed a documentation request here:
http://public.kitware.com/Bug/view.php?id=10402
More information about the CMake
mailing list