[CMake] Using icc on Windows

Bill Hoffman bill.hoffman at kitware.com
Thu Apr 19 11:45:30 EDT 2007


Alexia Rodríguez Ruano wrote:
> I tried  to run 'cmakesetup CC=icl CXX=icl'  from a command line. 
> After chosing the platform Visual Studio CMAKE_C_COMPILER was set to 
> the Intel compiler as I wanted, but  CMAKE_CXX_COMPILER remainned set 
> to cl . I modify ot to icl.exe. Click on configure and the OK, however 
> when I open the solution on Visual Studio the project is not 
> configurated to be compiled with INTEL Compiler.
I am pretty sure there is a way to change Visual Studio so it uses a 
different compiler.  That is how we have done it in the past.   I don't 
think that information is stored in the .vcproj files that cmake 
generates.  

-Bill



More information about the CMake mailing list