[CMake] Test for ICC

Alexander Neundorf a.neundorf-work at gmx.net
Fri Dec 14 20:47:28 EST 2007


On Tuesday 04 December 2007, Mike Jackson wrote:
> I need to test for icc/icpc (The intel compiler). What would be the
> best way to do that?

With cmake cvs you can check the compiler id (CMAKE_C_COMPILER_ID or something 
similar), with cmake 2.4.x you have to check the filename of the compiler I 
think.

Alex


More information about the CMake mailing list