<html><body><div style="color:#000; background-color:#fff; font-family:arial, helvetica, sans-serif;font-size:12pt"><div>Hi again,</div><div><br></div><div>my problem resolved itself. Instead of trying to read the tcl file in the execution phase I simply used the configure_file(....) to set the variables I want. There is even a sample CTestScript shipped with cmake. So I just used this.</div><div><br></div><div>Regards michael</div><div><br></div>  <div style="font-size: 12pt; font-family: arial, helvetica, sans-serif; "> <div style="font-size: 12pt; font-family: 'times new roman', 'new york', times, serif; "> <div dir="ltr"> <font size="2" face="Arial"> <hr size="1">  <b><span style="font-weight:bold;">Von:</span></b> Michael Pfeuti &lt;michael.pfeuti@3dimpactmedia.com&gt;<br> <b><span style="font-weight: bold;">An:</span></b> "cmake@cmake.org" &lt;cmake@cmake.org&gt; <br> <b><span style="font-weight: bold;">Gesendet:</span></b> 22:16 Montag, 19.März
 2012<br> <b><span style="font-weight: bold;">Betreff:</span></b> Reading DartConfiguration.tcl<br> </font> </div> <br><div id="yiv1713761940"><div><div style="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); font-size: 12pt; font-family: arial, helvetica, sans-serif; "><div>Hi there,</div><div><br></div><div>I've been struggling getting a custom cdash script to work. I want to submit to some subproject and also some additional files (exp: the compiled binary). If I understand correctly I need to write a custom script.</div><div><br></div><div>Now I played around a bit and got this working. However, what I don't like is that I have to set CTEST_SITE and other stuff manually.&nbsp;</div><div><br></div><div>When I use "ctest -D Experimental" for example, I don't specify this by hand. As I see it the&nbsp;DartConfiguration.tcl file is parsed and then used to run<span style="font-size:12pt;">&nbsp;</span><span style="font-size:12pt;">"ctest -D
 Experimental".</span></div><div><span style="font-size:12pt;"><br></span></div><div><span style="font-size:12pt;">My question now is, can I somehow use the
 information in&nbsp;</span><span style="font-size:12pt;">DartConfiguration.tcl to fill the variables like CTEST_SITE and so on? Is there a function or a macro that sets there variables?</span></div><div><span style="font-size:12pt;"><br></span></div><div><span style="font-size:12pt;"><br></span></div><div>Regards</div><div>Michael</div></div></div></div><br><br> </div> </div>  </div></body></html>