On 07/26/2012 01:10 PM, Ho Cheung wrote: > Xcode generator and Configure my project, I noticed that CMAKE_C_COMPILER > is pointing to /usr/bin/gcc.
AFAIK the Xcode generator has always left CMAKE_*_COMPILER set to values that it doesn't really use for generation. It should probably be taught to detect the path to the internal compiler Xcode uses and set the CMAKE_*_COMPILER variables accordingly (or at least to just the compiler basename like "gcc" or "clang"). So far no one has cared enough about this to propose a specific solution. -Brad -- 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