[CMake] How to integrate Ctest onto CMake build?

Ashutosh Juneja ashutosh.juneja at gmail.com
Thu Jan 22 12:42:10 EST 2009


Hi,

I am new to CMake/CTest infrastructure. I have built a project (c:\build)
from source code (c:\src) using cmake on windows. My aim is to integrate
CTest onto CMake build by running few regression tests. The testcases are
located at c:\tests.

c:\test\test01
c:\test\test02
To run a test, i have to cd to area 'test01' and then execute perl commands.
I want to know:

1. At what location should i modify CMakeList.txt file to include ADD_TEST
commands? At c:\build or c:\src or c:\test?
2. Is this the same location from where i have to run 'ctest -D
Experimental'?

Thanks in advance,
Asj
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20090122/8c9f04d1/attachment.htm>


More information about the CMake mailing list