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

Eric Noulard eric.noulard at gmail.com
Fri Mar 20 11:34:16 EDT 2009


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


-- 
Erk


More information about the CMake mailing list