[CMake] Deferred CPU count variable in CMake for Makefile generator?

Clifford Yapp cliffyapp at gmail.com
Fri Sep 9 15:27:53 EDT 2011


Looks like $(MAKE) will do it, at least in testing so far - awesome!  Thanks
David.

Cliff.

On Fri, Sep 9, 2011 at 11:15 AM, David Cole <david.cole at kitware.com> wrote:

>
>      if("${CMAKE_GENERATOR}" MATCHES "Make" AND
>         ("${cmake_generator}" MATCHES "Make" OR NOT cmake_generator))
>        # The project uses the same Makefile generator.  Use recursive make.
>        set(cmd "$(MAKE)")
>
> Would that be a sufficient solution, or do you really need to pass
> flags down for some of your custom targets based on some of the makes
> that you have to deal with....?
>
> Let us know.
>
>
> Thanks,
> David
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20110909/af8ba095/attachment.htm>


More information about the CMake mailing list