[cmake-developers] Assembly/preprocessed targets for Fortran
Tim Gallagher
tim.gallagher at gatech.edu
Wed Nov 5 14:32:29 EST 2014
Great, thank you. Next time I won't have to go back and forth several times (I hope)!
Tim
----- Original Message -----
From: "Brad King" <brad.king at kitware.com>
To: "Tim Gallagher" <tim.gallagher at gatech.edu>
Cc: cmake-developers at cmake.org
Sent: Wednesday, November 5, 2014 2:19:06 PM
Subject: Re: [cmake-developers] Assembly/preprocessed targets for Fortran
On 11/05/2014 01:53 PM, Tim Gallagher wrote:
> Here's to hoping 3rd time's the charm...
Thanks. Applied with minor tweaks:
Makefile: Refactor checks for lang-specific targets and export compile cmds
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=06f8b429
Makefile: Add assembly and preprocessed targets for Fortran
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=a811f014
and merged to 'next' for testing.
> Also, what version of gfortran do you have that requires both -E
> and -cpp to do the preprocessing?
It is gfortran 4.9.1.
Many other compilers have this too. Uppercase source extensions
get preprocessed by default, lowercase extensions require -cpp.
That is why Modules/CMakeFortranCompilerId.F.in uses an uppercase
extension.
-Brad
More information about the cmake-developers
mailing list