Alan W. Irwin wrote: > On 2007-04-17 18:34+0200 cedric wrote: > > > I don't have any experience with icc, but I understand it is a C++ > compiler rather than a C compiler. For C++ compilers look at > CMakeDetermineCXXCompiler.cmake. icc is not one of the list (c++ g++ CC aCC > cl bcc xlC) of C++ compilers that are searched for automatically by cmake. > So you have to specify it. Looking near the top of that file, that is done > using the CXX environment variable (which can include compiler options). > See also comments about the CXX environment variable in > http://www.cmake.org/Wiki/CMake_Useful_Variables. > > My understanding is gcc.cmake is only used for either gcc or g++. Similarly, > I believe Linux-icpc.cmake would only be included if you specified > the icpc compiler (which I believe is the name of an older Intel compiler?).
CC=icc CXX=icpc cmake ...... Filipe Sousa
signature.asc
Description: OpenPGP digital signature
_______________________________________________ CMake mailing list [email protected] http://www.cmake.org/mailman/listinfo/cmake
