Re: [CMake] CMake's Xcode generator seems to ignore the CMAKE_CXX_COMPILER variable

2009-02-24 Thread Stephan Aiche
Since you can only choose the following compilers in Xcode (at least in the version i have seen) GCC 3.3 (GCC_VERSION = 3.3) GCC 4.0 (GCC_VERSION = 4.0) GCC 4.2 (GCC_VERSION = 4.2) LLVM GCC 4.2 (GCC_VERSION = com.apple.compilers.llvmgcc42) it seems reasonable (to me) to give also only this pos

Re: [CMake] CMake's Xcode generator seems to ignore the CMAKE_CXX_COMPILER variable

2009-02-24 Thread Stephan Aiche
wrote: Was it in an empty directory or was there an already existing CMakeCache.txt referencing the other compiler ? On Tue, Feb 24, 2009 at 3:32 PM, Stephan Aiche berlin.de> wrote: Thanks Mathieu for your fast reply. I've tested it and it does not work. My Xcode still tells me that it

Re: [CMake] CMake's Xcode generator seems to ignore the CMAKE_CXX_COMPILER variable

2009-02-24 Thread Stephan Aiche
20 PM, Stephan Aiche berlin.de> wrote: I would like to compile my project using the g++ 4.2 and with Xcode generator to use Xcode 3.1.2 as my IDE. If I call cmake like cmake -D CMAKE_CXX_COMPILER:FILEPATH=/usr/bin/g++-4.2 -GXcode ../path/to/source/tree I get a Xcode project that I can open wi

[CMake] CMake's Xcode generator seems to ignore the CMAKE_CXX_COMPILER variable

2009-02-24 Thread Stephan Aiche
I would like to compile my project using the g++ 4.2 and with Xcode generator to use Xcode 3.1.2 as my IDE. If I call cmake like cmake -D CMAKE_CXX_COMPILER:FILEPATH=/usr/bin/g++-4.2 -GXcode ../path/ to/source/tree I get a Xcode project that I can open with Xcode 3.1.2 but if I look at the