I hope we’ll see CMake support for submodules soon. Submodules are now supported by released versions of the Cray, IBM, and Intel compilers and by the pre-release GNU Fortran compiler version 6.0.0, which is expected to release in mid-April.
Damian On Mar 23, 2016, at 1:12 PM, Brad King <brad.k...@kitware.com> wrote: > > 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 > > -- > > Powered by www.kitware.com > > Please keep messages on-topic and check the CMake FAQ at: > http://www.cmake.org/Wiki/CMake_FAQ > > Kitware offers various services to support the CMake community. For more > information on each offering, please visit: > > CMake Support: http://cmake.org/cmake/help/support.html > CMake Consulting: http://cmake.org/cmake/help/consulting.html > CMake Training Courses: http://cmake.org/cmake/help/training.html > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/cmake ________________________________ Damian Rouson, Ph.D., P.E. President, Sourcery Institute http://www.sourceryinstitute.org +1-510-600-2992 (mobile)
-- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/cmake