cpack logging question

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
Report Content as Inappropriate

cpack logging question

Gerard Bahi
I am using the cpack variable CPACK_INSTALL_COMMANDS to run an extra command. (First time I do this)

I have noticed that whenever the script command fails I get a log with the output in (InstallOtput.log)

However when it runs correctly I have no log at all. I have tried to redirect the output in the command (e.g.: "echo hi > aFile) but that does not work either.

Is there any way to actually get the log on success? I don't mind if it is on standard out or in a file.



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: