[CMake] Intel compiler on MSVC

Dominik Szczerba dominik at itis.ethz.ch
Thu Feb 24 07:31:41 EST 2011


I have been struggling to force the Intel compiler for my project. It
works out of the box on linux by setting a cache entry for the
CMAKE_CXX_COMPILER variable. On Windows there is no way, the cache is
ignored, hardcoded values in CMakeLists are ignored, even if Intel is
displayed by MESSAGE(STATUS ${CMAKE_CXX_COMPILER}). What is the way
out of this puzzle?
Many thanks,
Dominik


More information about the CMake mailing list