<div dir="ltr"><div><div><div>Hi Christopher, <br><br></div>You want to add the ctest_* function in a separate script that you will invoke with CTest. See [1] for more details<br><br></div>Hth<br></div>Jc<br><div><div><br>
[1] <a href="http://www.cmake.org/Wiki/CMake_Scripting_Of_CTest#CTest_Scripting">http://www.cmake.org/Wiki/CMake_Scripting_Of_CTest#CTest_Scripting</a><br></div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">
On Fri, Apr 18, 2014 at 12:29 PM, <span dir="ltr"><<a href="mailto:christophe.alexandre@flexras.com" target="_blank">christophe.alexandre@flexras.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi Jean-Christopher,<br>
<br>
Can I use this function in a cmake script ?<br>
<br>
At the root of my project, I have three configuration files:<br>
the top CMakeLists.txt, a configurable CTestCustom.cmake and a CTestConfig.cmake file.<br>
<br>
I've tried to add the ctest_start command in those files but it is not recognized as a cmake command.<br>
<br>
I'm obviously doing something wrong, maybe it's a ctest only command ?<br>
<br>
Christophe<br>
<br>
Le 2014-04-17 22:48, Jean-Christophe Fillion-Robin a écrit :<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="">
Hi Christopher,<br>
<br>
You need to specify the TRACK parameter for the "ctest_start"<br>
function.<br>
<br>
See [1] for example and [2] for documentation.<br>
<br>
Hth<br>
Jc<br>
<br>
[1]<br>
<a href="https://github.com/Slicer/Slicer/blob/c485d69363dd594872b19bab147de5761f2be5aa/CMake/SlicerDashboardDriverScript.cmake#L182" target="_blank">https://github.com/Slicer/<u></u>Slicer/blob/<u></u>c485d69363dd594872b19bab147de5<u></u>761f2be5aa/CMake/<u></u>SlicerDashboardDriverScript.<u></u>cmake#L182</a><br>
[2]<br>
<br></div>
[2]<br>
<a href="http://www.cmake.org/cmake/help/git-master/command/ctest_start.html?highlight=ctest_start" target="_blank">http://www.cmake.org/cmake/<u></u>help/git-master/command/ctest_<u></u>start.html?highlight=ctest_<u></u>start</a><br>
[3]<div class=""><br>
<br>
On Thu, Apr 17, 2014 at 11:57 AM, <<a href="mailto:christophe.alexandre@flexras.com" target="_blank">christophe.alexandre@flexras.<u></u>com</a>><br>
wrote:<br>
<br>
</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="">
Hi all,<br>
<br>
I've been using CMake and CDash for a couple of years, and until<br>
today<br>
I worked using the standards targets: Continuous, Nightly and<br>
Experimental for builds and submission.<br>
All those builds are in static library generation mode.<br>
<br>
I would like now to replicate these targets, to have dynamic<br>
builds: Continuous_Dynamic, ...<br>
<br>
On the CDash site, I can create groups, but I do not understand how<br>
I can submit to those new targets.<br>
How should I add those new targets: Continous_DynamicUpdate,<br>
Continuous_DynamicTest, ... in the build, like<br>
the standard targets.<br>
<br>
Thanks.<br>
and Thanks for the great work on CMake and CDash.<br>
<br>
Christophe<br>
______________________________<u></u>_________________<br>
Cdash mailing list<br>
<a href="mailto:Cdash@public.kitware.com" target="_blank">Cdash@public.kitware.com</a><br>
</div><a href="http://public.kitware.com/cgi-bin/mailman/listinfo/cdash" target="_blank">http://public.kitware.com/cgi-<u></u>bin/mailman/listinfo/cdash</a> [1]<br>
</blockquote><div class="">
<br>
--<br>
<a href="tel:%2B1%20919%20869%208849" value="+19198698849" target="_blank">+1 919 869 8849</a><br>
<br>
<br></div>
Links:<br>
------<br>
[1] <a href="http://public.kitware.com/cgi-bin/mailman/listinfo/cdash" target="_blank">http://public.kitware.com/cgi-<u></u>bin/mailman/listinfo/cdash</a><br>
[2]<br>
<a href="https://github.com/Slicer/Slicer/blob/c485d69363dd594872b19bab147de5761f2be5aa/CMake/SlicerDashboardDriverScript.cmake#L182" target="_blank">https://github.com/Slicer/<u></u>Slicer/blob/<u></u>c485d69363dd594872b19bab147de5<u></u>761f2be5aa/CMake/<u></u>SlicerDashboardDriverScript.<u></u>cmake#L182</a><br>
[3]<br>
<a href="http://www.cmake.org/cmake/help/git-master/command/ctest_start.html?highlight=ctest_start" target="_blank">http://www.cmake.org/cmake/<u></u>help/git-master/command/ctest_<u></u>start.html?highlight=ctest_<u></u>start</a><br>
</blockquote>
</blockquote></div><br><br clear="all"><br>-- <br>+1 919 869 8849<br>
</div>