<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p>Hi Xavier,</p>
    <p>That worked like a charm!</p>
    <p>Thanks very much.</p>
    <p>Thanks too to Craig for the link. I had not seen that before.</p>
    <div class="moz-cite-prefix">On 12/16/2018 6:15 PM, Xavier Besseron
      wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CABgOZMY2JtqNCeFK1jR06DDNGmSKn-9-M_+XL4Y=RQ8ona9ziw@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="ltr">
        <div dir="ltr">
          <pre style="margin-top:0px;margin-bottom:0px"><font face="arial, helvetica, sans-serif" color="#000000">Hi Donald,
</font></pre>
          <pre style="margin-top:0px;margin-bottom:0px"><font face="arial, helvetica, sans-serif" color="#000000">
</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">
</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">
</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">
</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">
</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">
</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" moz-do-not-send="true">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"
                  moz-do-not-send="true">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" moz-do-not-send="true">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" moz-do-not-send="true">https://crascit.com</a><br>
                        </div>
                        <div><br>
                        </div>
                        <div>New book released: <a
                            href="https://crascit.com/professional-cmake/"
                            target="_blank" moz-do-not-send="true">Professional
                            CMake: A Practical Guide</a><br>
                        </div>
                      </div>
                    </div>
                  </div>
                </div>
              </div>
            </div>
          </div>
          <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" moz-do-not-send="true">http://luxdem.uni.lu/team/xbesseron/</a>
                          <div><br>
                          </div>
                        </div>
                      </div>
                    </div>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
    </blockquote>
    <pre class="moz-signature" cols="72">-- 
Donald [|]
A bad day in [] is better than a good day in {}.</pre>
  <div id="DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2"><br />
<table style="border-top: 1px solid #D3D4DE;">
        <tr>
        <td style="width: 55px; padding-top: 13px;"><a href="https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient&utm_term=icon" target="_blank"><img src="https://ipmcdn.avast.com/images/icons/icon-envelope-tick-round-orange-animated-no-repeat-v1.gif" alt="" width="46" height="29" style="width: 46px; height: 29px;" /></a></td>
                <td style="width: 470px; padding-top: 12px; color: #41424e; font-size: 13px; font-family: Arial, Helvetica, sans-serif; line-height: 18px;">Virus-free. <a href="https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient&utm_term=link" target="_blank" style="color: #4453ea;">www.avast.com</a>
                </td>
        </tr>
</table><a href="#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2" width="1" height="1"> </a></div></body>
</html>