Re: [CMake] Compiling Fortran Modules And

2013-05-15 Thread Yngve Inntjore Levinsen
Den 13. mai 2013 20:08, skrev Pritchett-Sheats, Lori: Each dir* has *.F files that must be preprocessed to *.f90 files and then compiled. Hi, Just to give my two cents here. The standard filenaming scheme for fortran files are unless otherwise specified in the compile/preprocessing flags (as

Re: [CMake] Compiling Fortran Modules And

2013-05-15 Thread Pritchett-Sheats, Lori
, 2013 3:13 PM To: Pritchett-Sheats, Lori Cc: cmake@cmake.org Subject: Re: [CMake] Compiling Fortran Modules And On 05/13/2013 02:08 PM, Pritchett-Sheats, Lori wrote: IMPLICIT_DEPENDS Fortran ${F_file} The custom command is running a C preprocessor, not a Fortran compiler, so use

Re: [CMake] Compiling Fortran Modules And

2013-05-15 Thread Pritchett-Sheats, Lori
: [CMake] Compiling Fortran Modules And Den 13. mai 2013 20:08, skrev Pritchett-Sheats, Lori: Each dir* has *.F files that must be preprocessed to *.f90 files and then compiled. Hi, Just to give my two cents here. The standard filenaming scheme for fortran files are unless otherwise specified

Re: [CMake] Compiling Fortran Modules And

2013-05-14 Thread Andreas Mohr
Hi, On Mon, May 13, 2013 at 09:31:46PM -0400, cmake-requ...@cmake.org wrote: I'm converting a Fortran package that was using GNU make to build to CMake, but I've run into a problem compiling F90 module code where the source code is stored under many directories. The package has a

Re: [CMake] Compiling Fortran Modules And

2013-05-14 Thread Pritchett-Sheats, Lori
Lori A. Pritchett-Sheats Los Alamos National Laboratory CCS-2, Computational Physics 505-665-6675 From: Andreas Mohr [a...@lisas.de] Sent: Tuesday, May 14, 2013 1:14 AM To: cmake@cmake.org Cc: Pritchett-Sheats, Lori Subject: Re: Compiling Fortran Modules

Re: [CMake] Compiling Fortran Modules And

2013-05-14 Thread Andreas Mohr
Hi, [disclaimer: quoting below is non-standard] On Tue, May 14, 2013 at 10:48:22AM -0400, cmake-requ...@cmake.org wrote: Date: Tue, 14 May 2013 14:36:18 + From: Pritchett-Sheats, Lori lpri...@lanl.gov | Hmm. Files with directory specification. | | But then...

Re: [CMake] Compiling Fortran Modules And

2013-05-14 Thread Brad King
On 05/13/2013 02:08 PM, Pritchett-Sheats, Lori wrote: IMPLICIT_DEPENDS Fortran ${F_file} The custom command is running a C preprocessor, not a Fortran compiler, so use IMPLICIT_DEPENDS C. list(APPEND PGSLibIface_SOURCE_FILES ${new_file_f90}) Do you mean to append to

[CMake] Compiling Fortran Modules And

2013-05-13 Thread Pritchett-Sheats, Lori
I'm converting a Fortran package that was using GNU make to build to CMake, but I've run into a problem compiling F90 module code where the source code is stored under many directories. The package has a directory structure src/ src/dir1 src/dir2 : : Each dir* has *.F