[CMake] pgi compilers

Bill Hoffman bill.hoffman at kitware.com
Tue May 29 21:27:32 EDT 2007


rcbord at wm.edu wrote:
> Hi
>   I am trying to install cmake with pgi 7.0.  So how
> do I go about making a Linux-pgcc.cmake file?  Will I need to
> edit any other files to pick up this new Platform file?
> Can I do this will pgi compile cmake?
That depends on what the compiler is called.  CMake currently uses the 
name of the executable for that file.  So if the compiler is called 
pgcc, then it should work with no extra stuff.  Just set CC=pgcc before 
running CMake and it should work.

-Bill



More information about the CMake mailing list