[CMake] Is it possible to run ctest outside build tree?
Dvir Yitzchaki
Dvir.Yitzchaki at ceva-dsp.com
Sun Mar 26 04:13:53 EDT 2017
How about
cmake --build /my/build/tree --target test
Regards,
Dvir
From: CMake [mailto:cmake-bounces at cmake.org] On Behalf Of Eric Noulard
Sent: Friday, March 24, 2017 13:04
To: CMake Mailinglist <cmake at cmake.org>
Subject: [CMake] Is it possible to run ctest outside build tree?
Is possible to run ctest outside the builld tree and how?
typical use is when I have an out of source build I may be in the source tree
and want to run tests without manually going to build tree.
i.e. I currently do:
ninja -C /my/build/tree
is there a similar way to do that with ctest (other than creating my own script, shell alias etc...)?
--
Eric
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake/attachments/20170326/aa5a39c2/attachment.html>
More information about the CMake
mailing list