[CMake] setting xcode's compiler with cmake
Bill Hoffman
bill.hoffman at kitware.com
Sun Jun 6 12:22:47 EDT 2010
On 6/4/2010 6:18 PM, Benson Limketkai wrote:
> Hi,
>
> When I use the Xcode generator, the CMAKE_CXX_COMPILER flag is ignored
> inside Xcode. It always is at: "System default (GCC 4.2)" when I look at
> the Compiler Version under the project build settings.
>
See here:
http://www.cmake.org/pipermail/cmake/2010-March/036188.html
> I've tried:
>
> cmake -G Xcode -DCMAKE_BUILD_TYPE:STRING=Debug
> -DCMAKE_CXX_COMPILER:FILEPATH=/opt/intel/Compiler/11.1/076/bin/ia32/icpc
>
> and:
>
> CXX=/opt/intel/Compiler/11.1/076/bin/ia32/icpc cmake -G Xcode
> -DCMAKE_BUILD_TYPE:STRING=Debug
>
> I'm using Cmake 2.6.4 and Xcode 3.2.2
>
> Any ideas?
>
> Thanks,
> Benson
> _______________________________________________
> 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://www.cmake.org/mailman/listinfo/cmake
>
--
Bill Hoffman
Kitware, Inc.
28 Corporate Drive
Clifton Park, NY 12065
bill.hoffman at kitware.com
http://www.kitware.com
518 881-4905 (Direct)
518 371-3971 x105
Fax (518) 371-4573
More information about the CMake
mailing list