[CMake] Reading DartConfiguration.tcl

Michael Pfeuti michael.pfeuti at 3dimpactmedia.com
Wed Mar 21 12:04:45 EDT 2012


Hi again,

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.

Regards michael


________________________________
 Von: Michael Pfeuti <michael.pfeuti at 3dimpactmedia.com>
An: "cmake at cmake.org" <cmake at cmake.org> 
Gesendet: 22:16 Montag, 19.März 2012
Betreff: Reading DartConfiguration.tcl
 

Hi there,

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.

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. 

When I use "ctest -D Experimental" for example, I don't specify this by hand. As I see it the DartConfiguration.tcl file is parsed and then used to run "ctest -D Experimental".

My question now is, can I somehow use the information in DartConfiguration.tcl to fill the variables like CTEST_SITE and so on? Is there a function or a macro that sets there variables?


Regards
Michael
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20120321/e2afb5c5/attachment.htm>


More information about the CMake mailing list