[CMake] Unit testing in CMake

Robert Dailey rcdailey at gmail.com
Mon Nov 24 17:06:06 EST 2008


Hi,

I'm reading this wiki
article<http://www.cmake.org/Wiki/CMake_Testing_With_CTest>on how to
perform tests using CMake. However, the tests I'm wanting to run
aren't already built. I need to be able to use CMake to first compile the
test and then run it afterwards. How would I handle this behavior in CMake?
Would I simply call add_executable() before calling add_test()?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20081124/d146af55/attachment.htm>


More information about the CMake mailing list