Re: [CMake] How to prefix fortran source files with special compile flag?

2009-11-02 Thread Brad King
Bill Hoffman wrote: Kelly (KT) Thompson wrote: Hi, I am trying to use Intel ifort on Linux to compile source code that uses the extension .F95. By default, ifort will not compile files with this extension. To allow the compilation, the name of the source file must be preceded by -Tf

Re: [CMake] How to prefix fortran source files with special compile flag?

2009-11-02 Thread Kelly (KT) Thompson
On Mon, Nov 2, 2009 at 2:30 PM, Brad King brad.k...@kitware.com wrote: Unfortunately it looks like -Tf implies -fixed too so it does not work with free-format sources unless -free is also added. We cannot add -free automatically because some sources might be fixed. The solution ties into

[CMake] How to prefix fortran source files with special compile flag?

2009-10-30 Thread Kelly (KT) Thompson
Hi, I am trying to use Intel ifort on Linux to compile source code that uses the extension .F95. By default, ifort will not compile files with this extension. To allow the compilation, the name of the source file must be preceded by -Tf (treat the next option as fortran source). While I know

Re: [CMake] How to prefix fortran source files with special compile flag?

2009-10-30 Thread Bill Hoffman
Kelly (KT) Thompson wrote: Hi, I am trying to use Intel ifort on Linux to compile source code that uses the extension .F95. By default, ifort will not compile files with this extension. To allow the compilation, the name of the source file must be preceded by -Tf (treat the next option as