Re: [CMake] Fortran 90 Module Issues in CMake

2012-03-02 Thread Brad King
On 3/2/2012 10:28 AM, Matthew Schuchard wrote: That person also had an issue with one Fortran 90 file using a module built by another Fortran 90 file in the same target and directory, and had the same error message from gnumake as I did. His solution was to manually add a dependency since in hi

[CMake] Fortran 90 Module Issues in CMake

2012-03-02 Thread Matthew Schuchard
I don't know the specifics of this case, but the only time we've ever had trouble with F90 modules is when we add a dependency and don't delete the build tree before trying to reconfigure. We have several hundred modules, many in the same directory and many used across directories and don'

Re: [CMake] Fortran 90 Module Issues in CMake

2012-03-02 Thread Tim Gallagher
quot; To: "brad king" Cc: cmake@cmake.org Sent: Friday, March 2, 2012 10:28:09 AM Subject: [CMake] Fortran 90 Module Issues in CMake >> but I have found that this person: >> http://www.cmake.org/pipermail/cmake/2010-November/040832.html >> had a very

[CMake] Fortran 90 Module Issues in CMake

2012-03-02 Thread Matthew Schuchard
but I have found that this person: / http://www.cmake.org/pipermail/cmake/2010-November/040832.html />>/ had a very similar problem. / This one? http://thread.gmane.org/gmane.comp.programming.tools.cmake.user/32850/focus=32893 Yes. That person also had an issue with one Fortran 90 fil

Re: [CMake] Fortran 90 Module Issues in CMake

2012-03-01 Thread Brad King
On 3/1/2012 3:50 PM, Matthew Schuchard wrote: I must not understand your example case correctly. Please post a sample source tree tarball to reproduce it with CMakeLists.txt files and the Fortran90 sources. Unfortunately, this software is also proprietary, Perhaps you can construct a mini

[CMake] Fortran 90 Module Issues in CMake

2012-03-01 Thread Matthew Schuchard
On 3/1/2012 2:38 PM, Matthew Schuchard wrote: / I did see those links on the bug report for Fortran 90 module dependency in subdirectories, />/> but I am having some kind of XML schema error preventing me from viewing them in Firefox. / To what bug report do you refer, and to what links?

Re: [CMake] Fortran 90 Module Issues in CMake

2012-03-01 Thread Brad King
On 3/1/2012 2:38 PM, Matthew Schuchard wrote: I did see those links on the bug report for Fortran 90 module dependency in subdirectories, but I am having some kind of XML schema error preventing me from viewing them in Firefox. To what bug report do you refer, and to what links? If I unders

Re: [CMake] Fortran 90 Module Issues in CMake

2012-03-01 Thread Matthew Schuchard
I did see those links on the bug report for Fortran 90 module dependency in subdirectories, but I am having some kind of XML schema error preventing me from viewing them in Firefox. If I understand you correctly, you are saying that to generate the module dependencies in my example case, I wou

Re: [CMake] Fortran 90 Module Issues in CMake

2012-03-01 Thread Brad King
On 3/1/2012 11:21 AM, Matthew Schuchard wrote: In particular, I have noticed that CMake cannot do module dependency scanning outside of the current directory/subdirectories. For example, if /topdir/dir1/src/ has a Fortran file with a dependency on a module built in /topdir/dir2/mod/, CMake wil

[CMake] Fortran 90 Module Issues in CMake

2012-03-01 Thread Matthew Schuchard
Hi, back converting another software distribution to a CMake-based build system. This one has a heavy reliance on Fortran 90 modules, and I noticed CMake has some issues with Fortran 90 modules. In particular, I have noticed that CMake cannot do module dependency scanning outside of the curre