[CMake] print content of linking script ?

Eric Noulard eric.noulard at gmail.com
Mon Dec 12 05:50:07 EST 2011


2011/12/12 Ilias Miroslav <Miroslav.Ilias at umb.sk>:
> Dear Eric,
>
> I tried the "file(READ..." cmake command, but it does not work during CMake buildup -  the link.txt file is ready for reading only after ending the buildup what is not my case.
>
> Why I need it ?
>
> Some time ago I reported problem about missing static library:
> http://www.cmake.org/pipermail/cmake/2011-November/047444.html
>
> Though it is not solved, I would like -  for the CDash buildup - print out the complete (or partial?) "link.txt" command in the "Configure Output",
>
> to extend CDash output as this,  http://repo.ctcc.no/CDash/buildSummary.php?buildid=6251

If you use ctest to submit your CDash submission
then may be you can file(READ ..) at CTest time inside
you ctest script after you did ctest_configure

and add some "ExtraFiles" to you submission.


-- 
Erk
Membre de l'April - « promouvoir et défendre le logiciel libre » -
http://www.april.org


More information about the CMake mailing list