<div dir="ltr"><div dir="ltr"><pre style="margin-top:0px;margin-bottom:0px"><font face="arial, helvetica, sans-serif" color="#000000">Hi Donald,<br></font></pre><pre style="margin-top:0px;margin-bottom:0px"><font face="arial, helvetica, sans-serif" color="#000000"><br></font></pre><pre style="margin-top:0px;margin-bottom:0px"><font face="arial, helvetica, sans-serif" color="#000000">For my project, I do it this way.</font></pre><pre style="margin-top:0px;margin-bottom:0px"><font face="arial, helvetica, sans-serif" color="#000000">In my CMakeLists.txt, I first set the variable BUILDNAME in cache before calling `include(CTest)`.</font></pre><pre style="margin-top:0px;margin-bottom:0px"><br></pre></div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div><pre style="margin-top:0px;margin-bottom:0px"><font face="monospace, monospace"><span style="color:rgb(0,128,0)">#</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(0,128,0)">define</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(0,128,0)">BUILDNAME,</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(0,128,0)">used</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(0,128,0)">to</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(0,128,0)">submit</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(0,128,0)">jobs</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(0,128,0)">to</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(0,128,0)">CDash</span></font></pre></div><div><pre style="margin-top:0px;margin-bottom:0px"><font face="monospace, monospace"><span style="color:rgb(128,128,0)">set</span>(BUILDNAME<span style="color:rgb(192,192,192)"> </span><span style="color:rgb(0,128,0)">"</span><font color="#000080">Whatever you want</font><span style="color:rgb(0,128,0)">"</span><span style="color:rgb(192,192,192)"> </span>CACHE<span style="color:rgb(192,192,192)"> </span>STRING<span style="color:rgb(192,192,192)"> </span><span style="color:rgb(0,128,0)">""</span><span style="color:rgb(192,192,192)"> </span>FORCE)</font></pre></div><div><pre style="margin-top:0px;margin-bottom:0px"><font face="monospace, monospace"><br></font></pre></div><div><pre style="margin-top:0px;margin-bottom:0px"><font face="monospace, monospace"><span style="color:rgb(0,128,0)">#</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(0,128,0)">This</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(0,128,0)">must</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(0,128,0)">be</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(0,128,0)">called</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(0,128,0)">after</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(0,128,0)">SITE</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(0,128,0)">and</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(0,128,0)">BUILDNAME</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(0,128,0)">variables</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(0,128,0)">are</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(0,128,0)">set</span></font></pre></div><div><pre style="margin-top:0px;margin-bottom:0px"><font face="monospace, monospace"><font color="#808000">include</font>(CTest)</font></pre></div></blockquote><div dir="ltr">



<pre style="margin-top:0px;margin-bottom:0px"><br></pre><pre style="margin-top:0px;margin-bottom:0px"><pre style="margin-top:0px;margin-bottom:0px"><font face="arial, helvetica, sans-serif" color="#000000">I hope this will work for you.</font></pre><font face="arial, helvetica, sans-serif" color="#000000"><br class="gmail-Apple-interchange-newline"></font></pre><pre style="margin-top:0px;margin-bottom:0px"><font face="arial, helvetica, sans-serif" color="#000000">Best regards,</font></pre><pre style="margin-top:0px;margin-bottom:0px"><font face="arial, helvetica, sans-serif" color="#000000"><br></font></pre><pre style="margin-top:0px;margin-bottom:0px"><font face="arial, helvetica, sans-serif" color="#000000">Xavier</font></pre></div></div><br><div class="gmail_quote"><div dir="ltr">On Sun, Dec 16, 2018 at 9:22 PM Craig Scott <<a href="mailto:craig.scott@crascit.com">craig.scott@crascit.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr">On Mon, Dec 17, 2018 at 6:41 AM Donald MacQueen [|] <<a href="mailto:dmacq@instantiations.com" target="_blank">dmacq@instantiations.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">I want to do something like set(CTEST_BUILD_NAME <br>
{CMAKE_SYSTEM_NAME}_someLocalVariable)<br>
<br>
I tried putting this ^^ in CTestConfig.cmake with no luck.<br>
<br>
I searched the docs and the archives from 2014 to the present and <br>
nothing jumped out at me.<br>
<br>
2) Is there a list of what can be set/used in CTestConfig.cmake?<br></blockquote></div><div><br></div><div>The variables are not all collected together conveniently, but the <a href="https://cmake.org/cmake/help/latest/manual/ctest.1.html#dashboard-client-configuration" target="_blank">Dashboard Client section</a> of the ctest command does list the supported variables associated with each command. It would seem like setting CTEST_BUILD_NAME should work based on those docs, so perhaps if you could point us as a minimal complete example which demonstrates your problem, that might give more clues as to what's happening for you.</div><div><br></div><div><br></div>-- <br><div dir="ltr" class="gmail-m_3656409309777740400gmail_signature"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr">Craig Scott<br><div>Melbourne, Australia</div><div><a href="https://crascit.com" target="_blank">https://crascit.com</a><br></div><div><br></div><div>New book released: <a href="https://crascit.com/professional-cmake/" target="_blank">Professional CMake: A Practical Guide</a><br></div></div></div></div></div></div></div></div>
-- <br>
<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Please keep messages on-topic and check the CMake FAQ at: <a href="http://www.cmake.org/Wiki/CMake_FAQ" rel="noreferrer" target="_blank">http://www.cmake.org/Wiki/CMake_FAQ</a><br>
<br>
Kitware offers various services to support the CMake community. For more information on each offering, please visit:<br>
<br>
CMake Support: <a href="http://cmake.org/cmake/help/support.html" rel="noreferrer" target="_blank">http://cmake.org/cmake/help/support.html</a><br>
CMake Consulting: <a href="http://cmake.org/cmake/help/consulting.html" rel="noreferrer" target="_blank">http://cmake.org/cmake/help/consulting.html</a><br>
CMake Training Courses: <a href="http://cmake.org/cmake/help/training.html" rel="noreferrer" target="_blank">http://cmake.org/cmake/help/training.html</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="https://cmake.org/mailman/listinfo/cmake" rel="noreferrer" target="_blank">https://cmake.org/mailman/listinfo/cmake</a><br>
<br>
-----------------------------------------------------------------------------------<br>
<br>
This e-mail can not be trusted due to SPF/DKIM validation failed.<br>
<br>
-----------------------------------------------------------------------------------<br>
<br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr">Dr Xavier BESSERON<br>Research Scientist<br>FSTC, University of Luxembourg</div><div dir="ltr">Campus Belval, Office MNO E04 0415-040<br>Phone: +352 46 66 44 5418</div><div dir="ltr"><a href="http://luxdem.uni.lu/team/xbesseron/" target="_blank">http://luxdem.uni.lu/team/xbesseron/</a><div><br></div></div></div></div></div></div></div></div></div></div></div>