[CMake] 'check' target
Rodolfo Lima
rodolfo at rodsoft.org
Thu Mar 13 20:49:03 EDT 2008
Usually on autotooled projects there's a 'check' target that can be run
with a 'make check' command. Is it feasible to create such target in a
cmake build tree that would call ctest? That would be helpful for
newcomers that are used to automake generated builds.
One thing that would be useful is to make this target recurse inside
subdirectories, calling ctest on the ones that have test cases in it.
This way one wouldn't need to know were in the source tree lies the
testsuite. Sorry if this feature is already implemented in ctest and I
don't know :)
Regards,
rod
More information about the CMake
mailing list