[cmake-developers] Assembly/preprocessed targets for Fortran

Brad King brad.king at kitware.com
Wed Nov 5 12:55:04 EST 2014


On 11/05/2014 12:14 PM, Tim Gallagher wrote:
> I have attached an updated patch

Thanks!  Please split this into two patches.  The first one should
do the refactoring of the variable name and corresponding logic
with no functionality changes.  The second one can add the Fortran
feature.

Also please keep C++ source lines to 79 columns or below.

The FortranOnly test fails for me with:

 f95: error: gfortran does not support -E without -cpp

because it doesn't enable preprocessing for lower-case extensions.
You'll need to add another .F test source with an upper-case
extension to activate preprocessing without special flags.

Thanks,
-Brad



More information about the cmake-developers mailing list