Hi Rashad,
It may not be the perfect way of doing it, but I attach build log files as
"notes". With something like:
set( CTEST_NOTES_FILES ${CTEST_BINARY_DIRECTORY}/BuildLogs/log1.log ... )
ctest_submit( PARTS Build Notes )
(I actually do something rather more complicated. I split the build into
sub-projects, which are built in parallel, producing subproject-specific build
logs in parallel. In the end I upload all the build results one by one for each
of the sub-projects. I can send you my NightlyBuild.cmake file if you're
interested...)
Cheers,
Attila
> On 07 Jan 2016, at 14:51, Rashad Kanavath <[email protected]> wrote:
>
> Hello,
>
> How can I include part of my build log to cdash output. Currently cdash
> pickup build errors and warnings.
>
> In the build summary, if there is no build log attached. I think this is
> intentional given the size of build log for some projects.
>
> What I would like to know is , if there is way I can put some logs into build
> summary page via some special cmake settings. I don't may be setting a cmake
> var ?
>
> My situation is I have a set of add_custom_targets that I used to make
> packages. they produce various ouputs such as processing abc.dll, creating
> zip archive, adding files to archive etc..
>
> Is there a way I can include them into the build summary ?
>
>
>
> --
> Regards,
> Rashad
> --
>
> Powered by www.kitware.com
>
> Please keep messages on-topic and check the CMake FAQ at:
> http://www.cmake.org/Wiki/CMake_FAQ
>
> Kitware offers various services to support the CMake community. For more
> information on each offering, please visit:
>
> CMake Support: http://cmake.org/cmake/help/support.html
> CMake Consulting: http://cmake.org/cmake/help/consulting.html
> CMake Training Courses: http://cmake.org/cmake/help/training.html
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/cmake
--
Powered by www.kitware.com
Please keep messages on-topic and check the CMake FAQ at:
http://www.cmake.org/Wiki/CMake_FAQ
Kitware offers various services to support the CMake community. For more
information on each offering, please visit:
CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake