On 3/8/2012 8:37 PM, Alan W. Irwin wrote:

I think that would be confusing to users.

Could you define an internal variable (to identify those generators
that have Makefile-like characteristics) that could be tested instead
of CMAKE_GENERATOR?

I suppose you could, but it would not be backwards compatible. My concern is all the projects that already exist that have code like this:
if(CMAKE_GENERATOR MATCHES "Makefiles")

A google search of that string gives my 5600 hits...

Just trying to make as many projects work with ninja out of the box as possible.

-Bill


--

Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers

Reply via email to