[CMake] Detecting Compiler

Alexander Neundorf a.neundorf-work at gmx.net
Wed Jun 6 15:26:04 EDT 2007


On Wednesday 06 June 2007 12:14, James Bigler wrote:
> Hi,
>
> Mike Jackson wrote:
> > I looked and looked but I know it is simple but I just can not find the
> > answer:
> >
> > I want to add some flags given a certain compiler (like the intel
> > compiler).. how should I proceed?
> >
> > IF (COMPILER matches INTEL) ?? Will that work?
> >
> > This is on OS X if that matters.
> >
> >
> > Also looking down in /usr/local/share/cmake/modules/platform I see a
> > pair of Darwin.* files. Can we get one in there for the intel compilers
> > for OS X? what information is needed to build one?
>
> CMake seems to come with built in detection of GCC, but not for other
> compilers (see Modules/CMakeDetermineCCompiler.cmake).

Which compilers under which operatings systems do you use ? The Intel compiler 
should actually be supported.
Do you have cmake files for these compilers ?
Could you please send them to the list ?

Thanks
Alex


More information about the CMake mailing list