Fortran and cmake_depends

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Fortran and cmake_depends

Joshua Buckner
The command
/usr/bin/cmake -E cmake_depends "Unix Makefiles”
is taking 15 to 20 minutes to complete when I organize my Fortran 90 source files into subdirectories under a root directory with a single CMakeLists.txt file.

When the same F90 files are copied into a single directory on the same file system, cmake_depends takes no more than 30 seconds.

There are about 900,000 lines of F90 code organized into 700 files in 50 subdirectories.

Is there a way to use “Unix Makefiles”, preserve the subdirectory structure and speed up cmake_depends?

--

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:
https://cmake.org/mailman/listinfo/cmake