[CMake] Generate Intel Compiler Project Files dire

Marie-Christine Vallet mmvallet at ucdavis.edu
Thu Oct 11 13:09:15 EDT 2007


Neumann, Jan (SCR US) wrote:
> Hi,
>  
> I was wondering if it is possible to use CMake to generate Visual 
> Studio 2003 or 2005 project files that will use the Intel C++ 
> compiler. Currently, I am generating first the Visual Studio project 
> and then use the Intel Project Converter that is installed into Visual 
> Studio to generate the Intel project. Is there a way to go from CMake 
> to the Intel project directly? Or what would be necessary to add this 
> capability to the CMake sources?
>  
> Thanks for any input,
>  
> Jan
> ------------------------------------------------------------------------
>
> _______________________________________________
> CMake mailing list
> CMake at cmake.org
> http://www.cmake.org/mailman/listinfo/cmake
in your empty build directory  launch cmake like this :
cmake PATH_TO_YOUR_CMAKE_APPLICATION_FOLDER 
-DCMAKE_C_COMPILER:string=icc -DCMAKE_CXX_COMPILER:string=icpc -G 
name_of_visual_studio_generator
Tell me if this works,
Marie



More information about the CMake mailing list