[CMake] Problem with CTest and adding subdirectory

Robert Matusewicz matekm at gmail.com
Tue May 26 04:19:45 EDT 2009


Hi all!
We are using Cmake and CTest in our project: OpenImageIO and have a liitle
problem.
We have project tree that looks like belowe:
* project
**** testsuit
**** src
****** test1
****** test2
And then, in CmakeList.txt we have something like that:
include (CTest)
add_subdirectory (test1)
add_subdirectory (test2)
add_subdirectory (testsuite)
Because we add directory testusite - we have error "add_subdirectory source
testsuite wchich is not an existing directory.
Is there any way to add testsuite? We could bypass this problem by making
symlink, but we don't want to do that. Any idea?
Robert
-- 
My public key can be found at https://keyserver2.pgp.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20090526/cfd13cab/attachment.htm>


More information about the CMake mailing list