On Mon, Mar 26, 2012 at 4:50 PM, Michele Dolfi <[email protected]> wrote: > Hi, > > I would like to use CDash sub projects when I submit to the dashboard, but I > don't find anywhere instructions on how to send the LABEL property. > > I set up the LABEL property for my executables and their tests, and after > the execution tests I already get a summary according to these labels. > What should I do next to send the test results to the correct subproject? > > I found some guide creating a .cmake file to be called from ctest -S > ....cmake and looping over all subproject labels. Is it the only way? Can't > I do that from CMake?! > > > Regards, > Michele > > -- > > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the CMake FAQ at: > http://www.cmake.org/Wiki/CMake_FAQ > > Follow this link to subscribe/unsubscribe: > http://www.cmake.org/mailman/listinfo/cmake
Presently, there is no easy "purely in CMake" way to send subproject information to a CDash dashboard. You really do have to loop over all the subprojects in your ctest script. We've tossed around "automatic subproject organization" before, there are a few different ways you could do a semi-automatic organization, but nothing has come of it so far except for ideas for future work. For now, follow the guide, and loop in a ctest -S script. HTH, David -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake
