[CMake] cmake and testing qt library project

Ramazan Girgin ramazangirgin at gmail.com
Thu Dec 13 07:00:49 EST 2007


 Hi all,
I am developing a library and usign cmake as a building tool.I want to test
my library when building. Directory structure is like this::

-src
    |_   lib_src1.cpp
    |_   lib_src2.cpp
    |_  lib_src3.cpp

-test
   |_ test.cpp

I wrote CMakeLists.txt in src folder and it is working fine. But i want to
add test directory and can run test for library.test.cpp tests my
librarys.How can I do this ?
Thanks in advance
Ramazan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/cmake/attachments/20071213/8e0cebe5/attachment.htm


More information about the CMake mailing list