[CMake] Fortran 90 modules not rebuilt

Belcourt, K. Noel kbelco at sandia.gov
Tue Nov 16 16:05:29 EST 2010


On Nov 16, 2010, at 1:59 PM, Brad King wrote:

> Hi Noel,
>
> On 11/16/2010 01:11 PM, K. Noel Belcourt wrote:
>> I've attached my project's top-level Makefile.  I'm trying to force
>> all the modules in the project to build first so I created a single
>> library called modules that contains all my Fortran 90 module files.
>> I'm invoking the Makefile explicitly passing the modules as the
>> target to build (so I can build a clean project in two steps: make
>> modules ; make)
>
> What CMake code are you using to create this "modules" target?

The modules CMakeLists.txt is attached.

> The Fortran module dependencies implementation is hidden inside the
> Makefile generators.  There is no API to access any of its timestamp
> files or scanning rules.

I'm not doing anything special.

-- Noel

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: CMakeLists.txt
URL: <http://www.cmake.org/pipermail/cmake/attachments/20101116/4353e1bd/attachment.txt>
-------------- next part --------------





More information about the CMake mailing list