On Wednesday, June 01, 2011 03:01:12 pm NoRulez wrote:
> Hi,
> 
> is it possible to also report CPack errors to CDash, for example if NSIS
> fails on Linux/Windows?
> 
> If so, how could this be done?
> 

You can do this:
ADD_TEST(package ${CMAKE_CPACK_COMMAND} -V 
               -C \${CTEST_CONFIGURATION_TYPE} 
              --config "${CMAKE_BINARY_DIR}/CPackConfig.cmake")

-- 
Clinton Stimpson
Elemental Technologies, Inc
Computational Simulation Software, LLC
www.csimsoft.com
_______________________________________________
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

Reply via email to