[Cmake] make -j

Bill Hoffman bill.hoffman at kitware.com
Mon Sep 17 11:22:28 EDT 2001


Once you have the SUBDIR_DEPENDS in place, here is what you need
to do:

cmake        // run cmake
make depend  // run make depend to force a single threaded update of all makefiles
make -j32    // now build your software with 32 threads



At 01:23 PM 9/16/2001 -0400, William A. Hoffman wrote:
>Actually, it can be done.  However, you have to use the SUBDIR_DEPENDS command, to let
>cmake know which sub-directories depend on each other.  Once that is done, it works quite well.
>
>
>At 03:34 PM 9/13/2001 -0400, Cross, Geoff (CRD) wrote:
>
>>I'm getting some very strange results when I do a make -j (multi-thread make).  I've got a feeling
>>this could never work using CMake: am I correct?
>>
>>Geoff.
>>_______________________________________________
>>Cmake mailing list
>>Cmake at public.kitware.com
>>http://public.kitware.com/mailman/listinfo/cmake
>
>_______________________________________________
>Cmake mailing list
>Cmake at public.kitware.com
>http://public.kitware.com/mailman/listinfo/cmake




More information about the CMake mailing list