[CMake] setting xcode's compiler with cmake
Benson Limketkai
bensonl at AI.SRI.COM
Fri Jun 4 18:18:15 EDT 2010
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.
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
More information about the CMake
mailing list