[CMake] Dependent variable definitions disappear in fortran module files

John R. Cary cary at txcorp.com
Tue Oct 4 09:05:30 EDT 2011


This was in fact the case.  Sorry not to report back...John

On 10/4/11 6:09 AM, Brad King wrote:
> On 9/30/2011 1:15 PM, John R. Cary wrote:
>> When I build the definitions from the dependency are missing
>> from the .mod file:
> [snip]
>> So something later in the cmake build seems to be removing
>> these definitions.
>
> Perhaps another target compiles the/a source file producing the same
> .mod file but with different definitions later in the build?  That
> may overwrite the .mod file with a different one.
>
> -Brad
>



More information about the CMake mailing list