[CMake] How to emulate autotools "make check"?

Marcel Loose loose at astron.nl
Fri Mar 20 11:43:04 EDT 2009


Hi Erk,

Good suggestion!

I'll do that, once I am sure this is really the way to go working for a
moderately sized project.

Marcel.

On Fri, 2009-03-20 at 16:34 +0100, Eric Noulard wrote:
> 2009/3/20 Marcel Loose <loose at astron.nl>:
> > Perfect!
> 
> Ok fine.
> 
> >
> > I now use add_custom_target(check COMMAND ${CMAKE_CTEST_COMMAND}) and
> > that indeed solves the parallel build issue.
> > And yes, I have MAKEFLAGS set to "-j4".
> 
> 
> Now that you make check is working, may be it's time to describe
> the way to go on a wiki page, may be in a new "Specific Topic"
> http://www.cmake.org/Wiki/CMake#Specific_Topics
> 
> 



More information about the CMake mailing list