[CMake] Build a program and get its output during "cmake" run

Yaron Cohen-Tal yaronct at gmail.com
Tue Jun 7 03:15:03 EDT 2016


Hi,

I'd like to build a C++ program and get its output during "cmake" run, not
during the project build. "CHECK_CXX_SOURCE_RUNS" only gives me the exit
code, but I need the output from the program. Anyway to do it?

Thanx,
Yaron
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake/attachments/20160607/92396af6/attachment.html>


More information about the CMake mailing list