Re: [CMake] create ctest dependency for ctest -jN

2010-03-10 Thread Matt McCormick

> 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

___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake


Re: [CMake] create ctest dependency for ctest -jN

2010-03-10 Thread Clinton Stimpson



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
___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake


[CMake] create ctest dependency for ctest -jN

2010-03-10 Thread Matt McCormick
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?

Thanks.

___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake