And what do we do when Apple releases GCC 4.3 or 4.4? Then CMake is
broke again. Run the gcc -dumpversion to extract out exactly which
version is being used. The code to do that is in lots of places.
_
Mike Jackson mike.
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
On Tue, Feb 24, 2009 at 4:23 PM, Sean McBride wrote:
> On 2/24/09 10:01 AM, Bill Hoffman said:
>
>>That will not work with Xcode projects. I am not sure how you tell
>>Xcode to use a different compiler. Any Xcode experts out there?
>
> The compiler choice is amongst the project/target settings.
On 2/24/09 10:01 AM, Bill Hoffman said:
>That will not work with Xcode projects. I am not sure how you tell
>Xcode to use a different compiler. Any Xcode experts out there?
The compiler choice is amongst the project/target settings. In an
xcconfig file, you would use, for example:
GCC_VERSIO
Stephan Aiche wrote:
It was an empty directory. Also inspecting the CMakeCache.txt shows
//C++ compiler
CMAKE_CXX_COMPILER:FILEPATH=/usr/bin/g++-4.2
For me it seems, that the generator is ignoring this variable while
generating the Xcode project files
Stephan
That will not work with Xcode
I do not have access to a Mac to replicate but I believe you.
Technically this should have worked as I use this trick to specify a
particular compiler instead of the default on a Visual Studio build. I
guess there must be something wrong going on with Xcode. But I cannot
help you anymore on this on
It was an empty directory. Also inspecting the CMakeCache.txt shows
//C++ compiler
CMAKE_CXX_COMPILER:FILEPATH=/usr/bin/g++-4.2
For me it seems, that the generator is ignoring this variable while
generating the Xcode project files
Stephan
On Feb 24, 2009, at 3:35 PM, Mathieu Malaterre 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 wrote:
> Thanks Mathieu for your fast reply. I've tested it and it does not work. My
> Xcode still tells me that it will use the GCC 4.0 as
Thanks Mathieu for your fast reply. I've tested it and it does not
work. My Xcode still tells me that it will use the GCC 4.0 as compiler.
Stephan
On Feb 24, 2009, at 3:22 PM, Mathieu Malaterre wrote:
CXX=/usr/bin/g++-4.2 cmake -GXcode ../path/to/source/tree
On Tue, Feb 24, 2009 at 3:20 PM,
CXX=/usr/bin/g++-4.2 cmake -GXcode ../path/to/source/tree
On Tue, Feb 24, 2009 at 3:20 PM, Stephan Aiche 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+
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
11 matches
Mail list logo