[CMake] ctest: dependency between tests

Bill Hoffman bill.hoffman at kitware.com
Wed Feb 3 11:47:29 EST 2010


Emmanuel Christophe wrote:
> Hi,
> 
> I discovered the -j option for ctest recently. I assume there is a way
> to introduce some dependencies between the test (the input of one test
> being produced by another test for example).
> By searching along the line of set_tests_properties, or ctest
> dependencies, I couldn't find anything.
> 
> Can anybody point me to the right command or property?
> 
Looks like a documentation bug...

Here it is:
  SET_TESTS_PROPERTIES ( complex PROPERTIES DEPENDS complexOneConfig)

Can you add a bug for this.   Thanks.

-Bill



More information about the CMake mailing list