rg/cmake/help/latest/command/try_run.html
>
> Petr
>
> On 7 June 2016 at 09:15, Yaron Cohen-Tal <yaro...@gmail.com> wrote:
>
>> Hi,
>>
>> I'd like to build a C++ program and get its output during "cmake" run,
>> not during the project build.
Hi Yaron,
I believe you're looking for CMake's try_run() command:
https://cmake.org/cmake/help/latest/command/try_run.html
Petr
On 7 June 2016 at 09:15, Yaron Cohen-Tal <yaro...@gmail.com> wrote:
> Hi,
>
> I'd like to build a C++ program and get its output during "cmak
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
--
Powered by www.kitware.com
Please ke