[CMake] Cmake 3.5.0 and Fortran submodule cannot be built

Brad King brad.king at kitware.com
Wed Mar 23 16:12:22 EDT 2016


On 03/23/2016 11:41 AM, Arjen Markus wrote:
> Fortran submodules are contained in a file with the extension
> .smod instead of .mod. At least for Intel Fortran. It may very
> well be that this feature is not yet supported by CMake.
[snip]
>> Error copying Fortran module "mod/function".
>> Tried "mod/FUNCTION.mod" and "mod/function.mod".
>>
>> Does recent cmake support Fortran submodule?

CMake has not been taught about Fortran submodules.  I'm not
very familiar with them either.

Do submodules affect the order in which sources need to be
compiled as modules do?

Please provide a small example project demonstrating use of
submodules and showing the error above.

Thanks,
-Brad



More information about the CMake mailing list