[CMake] example of ctest --build-and-test

2006-10-16 Thread Luigi Calori

I have the following problem:
a master cmake project that wants to configure and build a series of 
slave cmake projects

I' ve tried several hacking but not found an elegant solution.
I' ve read from the list that the

ctest --build-and-test


could be used for that but did not found any example: any suggestion?
The main reason for such a request is that I would like to have targets 
that download from CVS,configure and build projects, so to
use the master build phase as a kind of interface to all the tedious 
step of grabbibg things from the net, configuring and building.

Are there any examples ?

Thanks in advance
___
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/listinfo/cmake


Re: [CMake] example of ctest --build-and-test

2006-10-16 Thread William A. Hoffman
At 12:14 PM 10/16/2006, Luigi Calori wrote:
I have the following problem:
a master cmake project that wants to configure and build a series of slave 
cmake projects
I' ve tried several hacking but not found an elegant solution.
I' ve read from the list that the

ctest --build-and-test


could be used for that but did not found any example: any suggestion?
The main reason for such a request is that I would like to have targets that 
download from CVS,configure and build projects, so to
use the master build phase as a kind of interface to all the tedious step of 
grabbibg things from the net, configuring and building.
Are there any examples ?

The best example is in CMake itself.  In Source/CMakeLists.txt, all of the
tests for cmake are run with this command.

-Bill

___
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/listinfo/cmake