Brad King <brad.k...@kitware.com> writes:

> On 07/31/2012 03:43 PM, Brad King wrote:
>> Thanks for pointing us to that.  I just merged a fix to next:
>> 
>>  http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=27b74445
>
> Well, that caused major test failures on almost every OS X
> build during nightly testing.  I had to revert it:
>
>  http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=ea56c232
>
> See revert commit message for an explanation.  I'll think about
> other solutions.

For C++ projects, this heuristics may work:

- Find the C++ compiler.

- Unless the user asked for a specific C compiler, chose it depending on
  the C++ compiler found (c++ for cc, g++ for gcc, clang for clang++,
  etc)

Also, I'll propose that if CMake fails to find a matching C compiler on
the second step above, the process shall error out.

--

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