[CMake] Trouble understanding --build-and-test
Mathieu Malaterre
mathieu.malaterre at gmail.com
Wed Nov 4 07:49:24 EST 2009
In fact that was easy, simply calling ctest as --test-command did the trick.
Sorry for the noise
On Wed, Nov 4, 2009 at 12:50 PM, Mathieu Malaterre
<mathieu.malaterre at gmail.com> wrote:
> Hi there,
>
> I am struggling to understand how to use ctest --build-and-test. I
> have reproduce the issue with a minimal cmakelists.txt file at:
>
> http://gdcm.svn.sf.net/viewvc/gdcm/Sandbox/CMakeBug/10/CMakeLists.txt?view=markup
>
> which all it does is simply configure a cmakelists.txt file for the
> --build-and-test step. The building step is working fine, no problem.
> However I do not understand how to execute the test as listed in the
> configured cmakelists.txt, which :
>
> http://gdcm.svn.sf.net/viewvc/gdcm/Sandbox/CMakeBug/10/BlaCMakeLists.txt.in?view=markup
>
> What is the pupose of --test-command ? How should I specify 'execute
> the make test target' within the --build-and-test command ?
>
> Thanks,
> --
> Mathieu
>
--
Mathieu
More information about the CMake
mailing list