[CMake] Testing 'install' with CTest

Kedzierski, Artur CIV NSWC Corona, PA13 artur.kedzierski at navy.mil
Fri Dec 2 11:55:44 EST 2011


Hi,

Is there any way for CTest to execute the 'install' target in addition to compilation, unit
testing, etc.? I.e. 'make install' on Linux and similar on other platforms. Then submit
the results to CDash.

We have a continuous build that currently runs the CTest followed by 'make install' and 
'devenv ... /project install'. The problem is that when somebody changes one of 
CMakeLists.txt files to modify INSTALL(...) and sets it incorrectly, CDash will have no record
of the error.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 5684 bytes
Desc: not available
URL: <http://www.cmake.org/pipermail/cmake/attachments/20111202/2a6d51fb/attachment.bin>


More information about the CMake mailing list