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