Re: [CMake] different compiler for xcode

2012-02-04 Thread Johan Björk
Hi, You can change it using a toolchain file. We use something like this: SET(CMAKE_XCODE_ATTRIBUTE_GCC_VERSION com.foo.compilers.llvmgcc42 CACHE STRING FORCE) On Fri, Feb 3, 2012 at 11:49 AM, MM finjulh...@gmail.com wrote: Hi, Does the xcode generator on cmake 2.8.3 allow specifying a

[CMake] different compiler for xcode

2012-02-03 Thread MM
Hi, Does the xcode generator on cmake 2.8.3 allow specifying a different gcc from the one installed by default? Upgrading to a newer cmake is not a problem. Do I set CMAKE_CXX_COMPILER to the gcc46 binary ? I also have to add some xcode plugin for gcc46, don't I? MM -- Powered by