[CMake] CMake without C/C++ compiler check.

Alan W. Irwin irwin at beluga.phys.uvic.ca
Mon Aug 30 13:55:23 EDT 2010


On 2010-08-30 13:11+0200 Giraudon Cyril wrote:

> Hello,
>
> I'd like to use CMake to build a fortran project (ifort) and
> on my win64 machine, I have no C/C++ compiler.
>
> CMake seems to check always  C/C++ compilers  and this makes errors.
>
> So I'd like to know if there is any way to disable C/C++ compiler tests ?

project(<projectname> Fortran)

or

project(<projectname> NONE)
enable_language(Fortran)

Alan
__________________________
Alan W. Irwin

Astronomical research affiliation with Department of Physics and Astronomy,
University of Victoria (astrowww.phys.uvic.ca).

Programming affiliations with the FreeEOS equation-of-state implementation
for stellar interiors (freeeos.sf.net); PLplot scientific plotting software
package (plplot.org); the libLASi project (unifont.org/lasi); the Loads of
Linux Links project (loll.sf.net); and the Linux Brochure Project
(lbproject.sf.net).
__________________________

Linux-powered Science
__________________________


More information about the CMake mailing list