<div dir="ltr">Hi Jon,<div><br></div><div>This CTest script has only been tested for ITK -- it may needs some tweaks for ITKSoftwareGuide.</div><div><br></div><div>Thanks,</div><div>Matt</div></div><div class="gmail_extra">
<br><br><div class="gmail_quote">On Wed, Oct 2, 2013 at 12:23 PM, Jon Haitz Legarreta <span dir="ltr"><<a href="mailto:jhlegarreta@vicomtech.org" target="_blank">jhlegarreta@vicomtech.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr"><div><div><div><div>Hi there,<br></div>I was trying to configure my local copy of the ITKSoftwareGuide branch (<br>
git clone <a href="https://github.com/InsightSoftwareConsortium/ITKSoftwareGuide.git" target="_blank">https://github.com/InsightSoftwareConsortium/<span>ITKSoftwareGuide</span>.git</a>) so that the compilation result is sent to the ITK dashboard.<br>
<br>Although I read the instructions here:<br><a href="http://www.itk.org/Wiki/ITK/Policy_and_Procedure_for_Adding_Dashboards" target="_blank">http://www.itk.org/Wiki/ITK/Policy_and_Procedure_for_Adding_Dashboards</a><br>
<br>And I tried the instructions here:<br>
<a href="http://www.itk.org/Wiki/ITK/Git/Dashboard" target="_blank">http://www.itk.org/Wiki/ITK/Git/Dashboard</a><br><br></div>When trying to execute the<br><i>ctest -S ~/Dashboards/Scripts/my_dashboard.cmake -V</i><br></div>
command, it yields the following error:<br>
<br><i>Found 0 changed files<br>Configure project<br>Each . represents 1024 bytes of output<br>. Size of output: 0K<br>Error(s) when configuring the project</i><br><br></div>I wouldn't like ctest to download another copy of the ITK sources and create another build of them. I guess this can be achieved specifying the following variables:<br>
<div><br><i># dashboard_model = Nightly | Experimental | Continuous<br># dashboard_root_name = Change name of "My Tests" directory<br># dashboard_source_name = Name of source directory (ITK)<br>
# dashboard_binary_name = Name of binary directory (ITK-build)<br></i><br></div><div>in my my_dashboard.cmake file.<br><br></div><div>Let's assume I work in Windows and my ITK folder structure is as follows:<br>
Sources: C:\SDKs\ITK\itkSoftwareGuideBin\ITKv4<br>Binaries: C:\SDKs\ITK\itkSoftwareGuideBin\ITKv4-build<br><br></div><div>Now, I guess the above variables are set the following way:<br><i><br>set(dashboard_model "Experimental")<br>
set(dashboard_root_name "myITKDashboardFolder")<br>set(dashboard_source_name "/c/SDKs/ITK/ITKSoftwareGuideBin/ITKv4")<br>set(dashboard_binary_name "/c/SDKs/ITK/ITKSoftwareGuideBin/ITKv4-build")</i><br>
</div><div><div><br></div><div><div><div><div><div><div>However, looking at the it_common.cmake file, I've noticed that these variables are appended to CTEST_DASHBOARD_ROOT. What am I supposed to put in that variable then?<br>
<br>Am I supposed to specify the folowing variables as well?<br><i>dashboard_data_name <br>dashboard_cache<br>CMAKE_MAKE_PROGRAM </i> <br><br></div><div>Thanks.<br><br></div><div>Kind regards,<br>JON HAITZ<br></div>
<div><div><div dir="ltr"><table align="center" border="0" cellpadding="0" cellspacing="0"><tbody><tr><td><br></td></tr><tr><td><table align="center" border="0" cellpadding="0"><tbody><tr><td><span style="font-size:10px;color:gray;font-family:Verdana,Arial,Helvetica,sans-serif"></span><br>
</td></tr></tbody></table></td></tr></tbody></table></div></div>
</div></div></div></div></div></div></div></div>
<br>_____________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at<br>
<a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Kitware offers ITK Training Courses, for more information visit:<br>
<a href="http://www.kitware.com/products/protraining.php" target="_blank">http://www.kitware.com/products/protraining.php</a><br>
<br>
Please keep messages on-topic and check the ITK FAQ at:<br>
<a href="http://www.itk.org/Wiki/ITK_FAQ" target="_blank">http://www.itk.org/Wiki/ITK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.itk.org/mailman/listinfo/insight-users" target="_blank">http://www.itk.org/mailman/listinfo/insight-users</a><br>
<br></blockquote></div><br></div>