[CMake] Testing with CMake--issue of subdirs
Tyler Roscoe
tyler at cryptio.net
Tue Mar 23 10:57:50 EDT 2010
On Tue, Mar 23, 2010 at 02:43:45PM +0530, Kiran Gopal Patil wrote:
> I do have the CMakeLists.txt for the main and sub1,2,3 are added in it which
> inturn add sub11,22,33
>
> I want to do "make test" for full project at directory main.
> In addition to this I want to do "make test" for sub11,22,33 selectively
> like say "make test sub11".
Use ctest directly instead of make test. ctest has a bunch of flags (-R,
-I, -E) that you can use to run subsets of the tests in your system.
tyler
More information about the CMake
mailing list