[CMake] Fortran 90 modules not rebuilt

Brad King brad.king at kitware.com
Tue Nov 16 15:59:50 EST 2010


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 Fortran module dependencies implementation is hidden inside the
Makefile generators.  There is no API to access any of its timestamp
files or scanning rules.

-Brad


More information about the CMake mailing list