[CMake] Does a ctested build work with make -j

Bill Hoffman bill.hoffman at kitware.com
Tue Jan 28 10:46:40 EST 2014


On 1/27/2014 6:05 PM, Matthew Woehlke wrote:
>
> What would be the difference in this context between MAKECOMMAND and
> CMAKE_MAKE_PROGRAM? I was just reading somewhere¹ that prefers the latter...
>
>
>https://github.com/Slicer/Slicer/commit/38905c9)
MAKECOMMAND is set by CTest.cmake and gets put in the file that CTest 
reads to get the build command.  If you set that make Experimental will 
work.  If you note the change in the Sliicer github link you sent, you 
can see it sets MAKECOMMAND=${CMAKE_MAKE_COMMAND}

-Bill


-- 
Bill Hoffman
Kitware, Inc.
28 Corporate Drive
Clifton Park, NY 12065
bill.hoffman at kitware.com
http://www.kitware.com
518 881-4905 (Direct)
518 371-3971 x105
Fax (518) 371-4573


More information about the CMake mailing list