[CMake] Is it possible to run ctest outside build tree?

Eric Noulard eric.noulard at gmail.com
Fri Mar 24 06:04:28 EDT 2017


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/20170324/9548abcb/attachment.html>


More information about the CMake mailing list